• API Documentation
Show / Hide Table of Contents
  • Rssdp
    • CustomHttpHeader
      • CustomHttpHeader
      • Name
      • ToString
      • Value
    • CustomHttpHeadersCollection
      • Add
      • Contains
      • Count
      • CustomHttpHeadersCollection
      • GetEnumerator
      • Item
      • Remove
    • DeviceAvailableEventArgs
      • DeviceAvailableEventArgs
      • DiscoveredDevice
      • IsNewlyDiscovered
    • DeviceEventArgs
      • Device
      • DeviceEventArgs
    • DeviceNetworkType
      • IPv4
      • IPv6
    • DeviceNetworkTypeExtensions
      • GetMulticastIPAddress
    • DeviceUnavailableEventArgs
      • DeviceUnavailableEventArgs
      • DiscoveredDevice
      • Expired
    • DiscoveredSsdpDevice
      • AsAt
      • CacheLifetime
      • DescriptionLocation
      • GetDeviceInfo
      • IsExpired
      • NotificationType
      • ResponseHeaders
      • ToString
      • Usn
    • ExceptionExtensions
      • IsCritical
    • ISsdpLogger
      • LogError
      • LogInfo
      • LogVerbose
      • LogWarning
    • NullLogger
      • Instance
      • LogError
      • LogInfo
      • LogVerbose
      • LogWarning
    • Resource
    • Resource.Attribute
    • Resource.String
      • ApplicationName
      • Hello
    • ServiceEventArgs
      • Service
      • ServiceEventArgs
    • SocketClosedException
      • SocketClosedException
    • SocketFactory
      • CreateUdpMulticastSocket
      • CreateUdpSocket
      • DeviceNetworkType
      • SocketFactory
    • SsdpDevice
      • AddDevice
      • AddService
      • CustomProperties
      • CustomResponseHeaders
      • DeviceAdded
      • DeviceRemoved
      • Devices
      • DeviceType
      • DeviceTypeNamespace
      • DeviceVersion
      • FriendlyName
      • FullDeviceType
      • Icons
      • Manufacturer
      • ManufacturerUrl
      • ModelDescription
      • ModelName
      • ModelNumber
      • ModelUrl
      • OnDeviceAdded
      • OnDeviceRemoved
      • OnServiceAdded
      • OnServiceRemoved
      • PresentationUrl
      • RemoveDevice
      • RemoveService
      • SerialNumber
      • ServiceAdded
      • ServiceRemoved
      • Services
      • SsdpDevice
      • StringToUri
      • Udn
      • Upc
      • Uuid
      • WriteDeviceDescriptionXml
    • SsdpDeviceExtensions
      • ToRootDevice
    • SsdpDeviceIcon
      • ColorDepth
      • Height
      • MimeType
      • Url
      • Width
    • SsdpDeviceLocator
      • SsdpDeviceLocator
    • SsdpDevicePropertiesCollection
      • Add
      • Contains
      • Count
      • GetEnumerator
      • Item
      • Remove
      • SsdpDevicePropertiesCollection
    • SsdpDeviceProperty
      • FullName
      • Name
      • Namespace
      • Value
    • SsdpDevicePublisher
      • SsdpDevicePublisher
    • SsdpEmbeddedDevice
      • RootDevice
      • SsdpEmbeddedDevice
    • SsdpRootDevice
      • CacheLifetime
      • Location
      • SsdpRootDevice
      • ToDescriptionDocument
      • UrlBase
    • SsdpService
      • ControlUrl
      • EventSubUrl
      • FullServiceType
      • ScpdUrl
      • ServiceId
      • ServiceType
      • ServiceTypeNamespace
      • ServiceVersion
      • SsdpService
      • Uuid
      • WriteServiceDescriptionXml
    • SsdpStandardsMode
      • Default
      • Relaxed
      • Strict
    • SsdpTraceLogger
      • LogError
      • LogInfo
      • LogVerbose
      • LogWarning
    • UdpSocket
      • Dispose
      • ReceiveAsync
      • SendTo
      • UdpSocket
  • Rssdp.Infrastructure
    • DisposableManagedObjectBase
      • Dispose
      • IsDisposed
      • ThrowIfDisposed
    • HttpParserBase<T>
      • IsContentHeader
      • Parse
      • ParseHttpVersion
      • ParseStatusLine
    • HttpRequestParser
      • IsContentHeader
      • Parse
      • ParseStatusLine
    • HttpResponseParser
      • IsContentHeader
      • Parse
      • ParseStatusLine
    • ISocketFactory
      • CreateUdpMulticastSocket
      • CreateUdpSocket
      • DeviceNetworkType
    • ISsdpCommunicationsServer
      • BeginListeningForBroadcasts
      • DeviceNetworkType
      • IsShared
      • RequestReceived
      • ResponseReceived
      • SendMessage
      • StopListeningForBroadcasts
      • StopListeningForResponses
      • UdpSendCount
      • UdpSendDelay
    • ISsdpDeviceLocator
      • DeviceAvailable
      • DeviceUnavailable
      • IsSearching
      • NotificationFilter
      • SearchAsync
      • StartListeningForNotifications
      • StopListeningForNotifications
    • ISsdpDevicePublisher
      • AddDevice
      • Devices
      • RemoveDevice
    • IUdpSocket
      • ReceiveAsync
      • SendTo
    • IUpnpDeviceValidator
      • GetValidationErrors
      • ThrowIfDeviceInvalid
    • ReceivedUdpData
      • Buffer
      • ReceivedBytes
      • ReceivedFrom
    • RequestReceivedEventArgs
      • Message
      • ReceivedFrom
      • RequestReceivedEventArgs
    • ResponseReceivedEventArgs
      • Message
      • ReceivedFrom
      • ResponseReceivedEventArgs
    • SsdpCommunicationsServer
      • BeginListeningForBroadcasts
      • DeviceNetworkType
      • Dispose
      • IsShared
      • RequestReceived
      • ResponseReceived
      • SendMessage
      • SsdpCommunicationsServer
      • StopListeningForBroadcasts
      • StopListeningForResponses
      • UdpSendCount
      • UdpSendDelay
    • SsdpConstants
      • DefaultUdpResendCount
      • DefaultUdpResendDelay
      • DefaultUdpSocketBufferSize
      • MaxUdpSocketBufferSize
      • MulticastLinkLocalAddressV6
      • MulticastLocalAdminAddress
      • MulticastPort
      • PnpDeviceTypeRootDevice
      • SsdpDefaultMulticastTimeToLive
      • UpnpDeviceTypeBasicDevice
      • UpnpDeviceTypeNamespace
      • UpnpDeviceTypeRootDevice
    • SsdpDeviceLocatorBase
      • DeviceAvailable
      • DeviceUnavailable
      • Dispose
      • IsSearching
      • NotificationFilter
      • OnDeviceAvailable
      • OnDeviceUnavailable
      • SearchAsync
      • SsdpDeviceLocatorBase
      • StartListeningForNotifications
      • StopListeningForNotifications
    • SsdpDevicePublisherBase
      • AddDevice
      • Devices
      • Dispose
      • Log
      • NotificationBroadcastInterval
      • RemoveDevice
      • SsdpDevicePublisherBase
      • StandardsMode
      • SupportPnpRootDevice
    • UdpEndPoint
      • IPAddress
      • Port
      • ToString
    • Upnp10DeviceValidator
      • GetValidationErrors
      • ThrowIfDeviceInvalid

Constructor SsdpDevicePublisher

SsdpDevicePublisher()

Default constructor.

Declaration
public SsdpDevicePublisher()
Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification.

SsdpDevicePublisher(ISsdpCommunicationsServer)

Full constructor.

Declaration
public SsdpDevicePublisher(ISsdpCommunicationsServer communicationsServer)
Parameters
Type Name Description
ISsdpCommunicationsServer communicationsServer
Remarks

Allows the caller to specify their own ISsdpCommunicationsServer implementation for full control over the networking, or for mocking/testing purposes..

SsdpDevicePublisher(ISsdpCommunicationsServer, ISsdpLogger)

Full constructor.

Declaration
public SsdpDevicePublisher(ISsdpCommunicationsServer communicationsServer, ISsdpLogger log)
Parameters
Type Name Description
ISsdpCommunicationsServer communicationsServer
ISsdpLogger log
Remarks

Allows the caller to specify their own ISsdpCommunicationsServer implementation for full control over the networking, or for mocking/testing purposes..

SsdpDevicePublisher(Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use for socket communications. Specify 0 to indicate the system should choose it's own port.

SsdpDevicePublisher(String)

Partial constructor.

Declaration
public SsdpDevicePublisher(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 .

SsdpDevicePublisher(Int32, Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort, int multicastTimeToLive)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

System.Int32 multicastTimeToLive

The number of hops a multicast packet can make before it expires. Must be 1 or greater.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use and multicast time to live setting for socket communications.

Specify 0 for the localPort argument to indicate the system should choose it's own port.

The multicastTimeToLive is actually a number of 'hops' on the network and not a time based argument.

SsdpDevicePublisher()

Default constructor.

Declaration
public SsdpDevicePublisher()
Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification.

SsdpDevicePublisher(ISsdpCommunicationsServer)

Full constructor.

Declaration
public SsdpDevicePublisher(ISsdpCommunicationsServer communicationsServer)
Parameters
Type Name Description
ISsdpCommunicationsServer communicationsServer
Remarks

Allows the caller to specify their own ISsdpCommunicationsServer implementation for full control over the networking, or for mocking/testing purposes..

SsdpDevicePublisher(ISsdpCommunicationsServer, ISsdpLogger)

Full constructor.

Declaration
public SsdpDevicePublisher(ISsdpCommunicationsServer communicationsServer, ISsdpLogger log)
Parameters
Type Name Description
ISsdpCommunicationsServer communicationsServer
ISsdpLogger log
Remarks

Allows the caller to specify their own ISsdpCommunicationsServer implementation for full control over the networking, or for mocking/testing purposes..

SsdpDevicePublisher(Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use for socket communications. Specify 0 to indicate the system should choose it's own port.

SsdpDevicePublisher(String)

Partial constructor.

Declaration
public SsdpDevicePublisher(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 .

SsdpDevicePublisher(Int32, Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort, int multicastTimeToLive)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

System.Int32 multicastTimeToLive

The number of hops a multicast packet can make before it expires. Must be 1 or greater.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use and multicast time to live setting for socket communications.

Specify 0 for the localPort argument to indicate the system should choose it's own port.

The multicastTimeToLive is actually a number of 'hops' on the network and not a time based argument.

SsdpDevicePublisher()

Default constructor.

Declaration
public SsdpDevicePublisher()
Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification.

SsdpDevicePublisher(ISsdpCommunicationsServer)

Full constructor.

Declaration
public SsdpDevicePublisher(ISsdpCommunicationsServer communicationsServer)
Parameters
Type Name Description
ISsdpCommunicationsServer communicationsServer
Remarks

Allows the caller to specify their own ISsdpCommunicationsServer implementation for full control over the networking, or for mocking/testing purposes..

SsdpDevicePublisher(Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use for socket communications. Specify 0 to indicate the system should choose it's own port.

SsdpDevicePublisher(Int32, Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort, int multicastTimeToLive)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

System.Int32 multicastTimeToLive

The number of hops a multicast packet can make before it expires. Must be 1 or greater.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use and multicast time to live setting for socket communications.

Specify 0 for the localPort argument to indicate the system should choose it's own port.

The multicastTimeToLive is actually a number of 'hops' on the network and not a time based argument.

SsdpDevicePublisher()

Default constructor.

Declaration
public SsdpDevicePublisher()
Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification.

SsdpDevicePublisher(ISsdpCommunicationsServer)

Full constructor.

Declaration
public SsdpDevicePublisher(ISsdpCommunicationsServer communicationsServer)
Parameters
Type Name Description
ISsdpCommunicationsServer communicationsServer
Remarks

Allows the caller to specify their own ISsdpCommunicationsServer implementation for full control over the networking, or for mocking/testing purposes..

SsdpDevicePublisher(ISsdpCommunicationsServer, ISsdpLogger)

Full constructor.

Declaration
public SsdpDevicePublisher(ISsdpCommunicationsServer communicationsServer, ISsdpLogger log)
Parameters
Type Name Description
ISsdpCommunicationsServer communicationsServer
ISsdpLogger log
Remarks

Allows the caller to specify their own ISsdpCommunicationsServer implementation for full control over the networking, or for mocking/testing purposes..

SsdpDevicePublisher(Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use for socket communications. Specify 0 to indicate the system should choose it's own port.

SsdpDevicePublisher(String)

Partial constructor.

Declaration
public SsdpDevicePublisher(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 .

SsdpDevicePublisher(Int32, Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort, int multicastTimeToLive)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

System.Int32 multicastTimeToLive

The number of hops a multicast packet can make before it expires. Must be 1 or greater.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use and multicast time to live setting for socket communications.

Specify 0 for the localPort argument to indicate the system should choose it's own port.

The multicastTimeToLive is actually a number of 'hops' on the network and not a time based argument.

SsdpDevicePublisher()

Default constructor.

Declaration
public SsdpDevicePublisher()
Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification.

SsdpDevicePublisher(ISsdpCommunicationsServer)

Full constructor.

Declaration
public SsdpDevicePublisher(ISsdpCommunicationsServer communicationsServer)
Parameters
Type Name Description
ISsdpCommunicationsServer communicationsServer
Remarks

Allows the caller to specify their own ISsdpCommunicationsServer implementation for full control over the networking, or for mocking/testing purposes..

SsdpDevicePublisher(Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use for socket communications. Specify 0 to indicate the system should choose it's own port.

SsdpDevicePublisher(Int32, Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort, int multicastTimeToLive)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

System.Int32 multicastTimeToLive

The number of hops a multicast packet can make before it expires. Must be 1 or greater.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use and multicast time to live setting for socket communications.

Specify 0 for the localPort argument to indicate the system should choose it's own port.

The multicastTimeToLive is actually a number of 'hops' on the network and not a time based argument.

SsdpDevicePublisher()

Default constructor.

Declaration
public SsdpDevicePublisher()
Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification.

SsdpDevicePublisher(ISsdpCommunicationsServer)

Full constructor.

Declaration
public SsdpDevicePublisher(ISsdpCommunicationsServer communicationsServer)
Parameters
Type Name Description
ISsdpCommunicationsServer communicationsServer
Remarks

Allows the caller to specify their own ISsdpCommunicationsServer implementation for full control over the networking, or for mocking/testing purposes..

SsdpDevicePublisher(Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use for socket communications. Specify 0 to indicate the system should choose it's own port.

SsdpDevicePublisher(Int32, Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort, int multicastTimeToLive)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

System.Int32 multicastTimeToLive

The number of hops a multicast packet can make before it expires. Must be 1 or greater.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use and multicast time to live setting for socket communications.

Specify 0 for the localPort argument to indicate the system should choose it's own port.

The multicastTimeToLive is actually a number of 'hops' on the network and not a time based argument.

SsdpDevicePublisher()

Default constructor.

Declaration
public SsdpDevicePublisher()
Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification.

SsdpDevicePublisher(ISsdpCommunicationsServer)

Full constructor.

Declaration
public SsdpDevicePublisher(ISsdpCommunicationsServer communicationsServer)
Parameters
Type Name Description
ISsdpCommunicationsServer communicationsServer
Remarks

Allows the caller to specify their own ISsdpCommunicationsServer implementation for full control over the networking, or for mocking/testing purposes..

SsdpDevicePublisher(Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use for socket communications. Specify 0 to indicate the system should choose it's own port.

SsdpDevicePublisher(Int32, Int32)

Partial constructor.

Declaration
public SsdpDevicePublisher(int localPort, int multicastTimeToLive)
Parameters
Type Name Description
System.Int32 localPort

The local port to use for socket communications, specify 0 to have the system choose it's own.

System.Int32 multicastTimeToLive

The number of hops a multicast packet can make before it expires. Must be 1 or greater.

Remarks

Uses the default ISsdpCommunicationsServer implementation and network settings for Windows Phone (Silverlight) and the SSDP specification, but specifies the local port to use and multicast time to live setting for socket communications.

Specify 0 for the localPort argument to indicate the system should choose it's own port.

The multicastTimeToLive is actually a number of 'hops' on the network and not a time based argument.

Back to top Copyright (c) 2017 Troy Willmot