Class ClientTypeHelper
Provides helper methods for working with client types.
public static class ClientTypeHelper
- Inheritance
-
ClientTypeHelper
- Inherited Members
Methods
GetProtocol(ClientType)
Gets the streaming protocol associated with the specified client type.
public static StreamingProtocol GetProtocol(ClientType clientType)
Parameters
clientTypeClientTypeThe client type.
Returns
- StreamingProtocol
The corresponding streaming protocol, or None if unknown.
GetSinkType(string)
Gets the client type for a sink connection based on the URI scheme.
public static ClientType GetSinkType(string uri)
Parameters
uristringThe URI to analyze.
Returns
- ClientType
The client type for the sink, or Unspecified if unknown.
GetSourceType(string)
Gets the client type for a source connection based on the URI scheme.
public static ClientType GetSourceType(string uri)
Parameters
uristringThe URI to analyze.
Returns
- ClientType
The client type for the source, or Unspecified if unknown.