Click or drag to resize

KnownProtocols Class

The KnownProtocols class represents some common protocols (ftp, ssh, telnet, smtp, http, pop3, https) and their default ports which are used by the UrlParser. If you want UrlParser to make out any other protocol, you can register this protocol by using RegisterProtocol method.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharp.Net.HttpKnownProtocols

Namespace: Crestron.SimplSharp.Net.Http
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public class KnownProtocols

The KnownProtocols type exposes the following members.

Constructors
 NameDescription
Public methodKnownProtocolsInitializes a new instance of the KnownProtocols class
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetProtocolDefaultPort Returns the default port number for the specified protocol.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberRegisterProtocol Registers a new protocol and its default port for the UrlParser.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also