KnownProtocolsGetProtocolDefaultPort Method |
Returns the default port number for the specified protocol.
Namespace: Crestron.SimplSharp.Net.HttpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static int GetProtocolDefaultPort(
string aProtocol
)
Parameters
- aProtocol String
- String containing name of protocol
Return Value
Int32the default port number for the specified protocol
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also