Default constructor.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public IPBindInfo( string hostName, IPAddress ip, int port, SslMode sslMode, X509Certificate2 sslCertificate )
Public Sub New ( hostName As String, ip As IPAddress, port As Integer, sslMode As SslMode, sslCertificate As X509Certificate2 )
public: IPBindInfo( String^ hostName, IPAddress^ ip, int port, SslMode sslMode, X509Certificate2^ sslCertificate )
new : hostName : string * ip : IPAddress * port : int * sslMode : SslMode * sslCertificate : X509Certificate2 -> IPBindInfo
Parameters
- hostName (String)
- Host name.
- ip (IPAddress)
- IP address to listen.
- port (Int32)
- Port to listen.
- sslMode (SslMode)
- Specifies SSL mode.
- sslCertificate (X509Certificate2)
- Certificate to use for SSL connections.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when ip is null. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119