Class Upnp10DeviceValidator
Validates a SsdpDevice object's properties meet the UPnP 1.0 specification.
Inheritance
System.Object
Upnp10DeviceValidator
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Rssdp.Infrastructure
Assembly: cs.temp.dll.dll
Syntax
public class Upnp10DeviceValidator : IUpnpDeviceValidator
Remarks
This is a best effort validation for known rules, it doesn't guarantee 100% compatibility with the specification. Reading the specification yourself is the best way to ensure compatibility.
Methods
Name | Description |
---|---|
GetValidationErrors(SsdpDevice) | Returns an enumerable set of strings, each one being a description of an invalid property on the specified device. |
GetValidationErrors(SsdpRootDevice) | Returns an enumerable set of strings, each one being a description of an invalid property on the specified root device. |
ThrowIfDeviceInvalid(SsdpDevice) | Validates the specified device and throws an System.InvalidOperationException if there are any validation errors. |