Default constructor.

C# | Visual Basic | Visual C++ | F# |
public IPBindInfo( string hostName, BindInfoProtocol protocol, IPAddress ip, int port, SslMode sslMode, X509Certificate2 sslCertificate )
Public Sub New ( hostName As String, protocol As BindInfoProtocol, ip As IPAddress, port As Integer, sslMode As SslMode, sslCertificate As X509Certificate2 )
public: IPBindInfo( String^ hostName, BindInfoProtocol protocol, IPAddress^ ip, int port, SslMode sslMode, X509Certificate2^ sslCertificate )
new : hostName : string * protocol : BindInfoProtocol * ip : IPAddress * port : int * sslMode : SslMode * sslCertificate : X509Certificate2 -> IPBindInfo

- hostName (String)
- Host name.
- protocol (BindInfoProtocol)
- Bind protocol.
- ip (IPAddress)
- IP address to listen.
- port (Int32)
- Port to listen.
- sslMode (SslMode)
- Specifies SSL mode.
- sslCertificate (X509Certificate2)
- Certificate to use for SSL connections.

Exception | Condition |
---|---|
ArgumentNullException | Is raised when ip is null. |
ArgumentException | Is raised when any of the arguments has invalid value. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119