Click or drag to resize

KnownProtocolsGetProtocolDefaultPort Method

Returns the default port number for the specified protocol.

Namespace: Crestron.SimplSharp.Net.Http
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static int GetProtocolDefaultPort(
	string aProtocol
)

Parameters

aProtocol  String
String containing name of protocol

Return Value

Int32
the default port number for the specified protocol

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also