• API Documentation
Show / Hide Table of Contents
  • Rssdp
    • AggregateSsdpDeviceLocator
    • CustomHttpHeader
    • CustomHttpHeadersCollection
    • DeviceAvailableEventArgs
    • DeviceEventArgs
    • DeviceNetworkType
    • DeviceNetworkTypeExtensions
    • DeviceUnavailableEventArgs
    • DiscoveredSsdpDevice
    • ExceptionExtensions
    • ISsdpLogger
    • NullLogger
    • ServiceEventArgs
    • SocketClosedException
    • SocketFactory
    • SsdpDevice
    • SsdpDeviceExtensions
    • SsdpDeviceIcon
    • SsdpDeviceLocator
    • SsdpDevicePropertiesCollection
    • SsdpDeviceProperty
    • SsdpDevicePublisher
    • SsdpEmbeddedDevice
    • SsdpRootDevice
    • SsdpService
    • SsdpStandardsMode
    • SsdpTraceLogger
  • Rssdp.Infrastructure
    • DisposableManagedObjectBase
    • HttpParserBase<T>
    • HttpRequestParser
    • HttpResponseParser
    • ISocketFactory
    • ISsdpCommunicationsServer
    • ISsdpDeviceLocator
    • ISsdpDevicePublisher
    • IUdpSocket
    • IUpnpDeviceValidator
    • ReceivedUdpData
    • RequestReceivedEventArgs
    • ResponseReceivedEventArgs
    • SsdpCommunicationsServer
    • SsdpConstants
    • SsdpDeviceLocatorBase
    • SsdpDevicePublisherBase
    • UdpEndPoint
    • Upnp10DeviceValidator

Interface IUpnpDeviceValidator

Interface for components that check an SsdpDevice object's properties meet the UPnP specification for a particular version.

Namespace: Rssdp.Infrastructure
Assembly: cs.temp.dll.dll
Syntax
public interface IUpnpDeviceValidator

Methods

GetValidationErrors(SsdpDevice)

Returns an enumerable set of strings, each one being a description of an invalid property on the specified device.

Declaration
IEnumerable<string> GetValidationErrors(SsdpDevice device)
Parameters
Type Name Description
SsdpDevice device

The SsdpDevice to validate.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

GetValidationErrors(SsdpRootDevice)

Returns an enumerable set of strings, each one being a description of an invalid property on the specified root device.

Declaration
IEnumerable<string> GetValidationErrors(SsdpRootDevice device)
Parameters
Type Name Description
SsdpRootDevice device

The SsdpRootDevice to validate.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

ThrowIfDeviceInvalid(SsdpDevice)

Validates the specified device and throws an System.InvalidOperationException if there are any validation errors.

Declaration
void ThrowIfDeviceInvalid(SsdpDevice device)
Parameters
Type Name Description
SsdpDevice device
In This Article
Back to top Copyright (c) 2015 Troy Willmot