Constructor SsdpDeviceLocator
SsdpDeviceLocator()
Default constructor. Constructs a new instance using the default ISsdpCommunicationsServer and ISocketFactory implementations for this platform.
Declaration
public SsdpDeviceLocator()
SsdpDeviceLocator(ISsdpCommunicationsServer)
Full constructor. Constructs a new instance using the provided ISsdpCommunicationsServer implementation.
Declaration
public SsdpDeviceLocator(ISsdpCommunicationsServer communicationsServer)
Parameters
Type | Name | Description |
---|---|---|
ISsdpCommunicationsServer | communicationsServer |
SsdpDeviceLocator()
Default constructor. Constructs a new instance using the default ISsdpCommunicationsServer and ISocketFactory implementations for this platform.
Declaration
public SsdpDeviceLocator()
SsdpDeviceLocator(String)
Partial constructor.
Declaration
public SsdpDeviceLocator(string ipAddress)
Parameters
Type | Name | Description |
---|---|---|
System.String | ipAddress | The IP address of the local network adapter to bind sockets to. Null or empty string will use an IP address selected by the OS or runtime. |
SsdpDeviceLocator(ISsdpCommunicationsServer)
Full constructor. Constructs a new instance using the provided ISsdpCommunicationsServer implementation.
Declaration
public SsdpDeviceLocator(ISsdpCommunicationsServer communicationsServer)
Parameters
Type | Name | Description |
---|---|---|
ISsdpCommunicationsServer | communicationsServer |