Method IsProtocolType
IsProtocolType(ProtocolType)
Checks the main type and advanced types if it matches the specified value.
public bool IsProtocolType(ProtocolType typeToCheck)
Parameters
typeToCheckProtocolTypeThe type to check (e.g. serial).
Returns
- bool
trueif the main type or one of the advanced types matches the specified value.