• 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

Class DeviceUnavailableEventArgs

Event arguments for the DeviceUnavailable event.

Inheritance
System.Object
System.EventArgs
DeviceUnavailableEventArgs
Inherited Members
System.EventArgs.Empty
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
Assembly: cs.temp.dll.dll
Syntax
public sealed class DeviceUnavailableEventArgs : EventArgs

Constructors

DeviceUnavailableEventArgs(DiscoveredSsdpDevice, Boolean)

Full constructor.

Declaration
public DeviceUnavailableEventArgs(DiscoveredSsdpDevice discoveredDevice, bool expired)
Parameters
Type Name Description
DiscoveredSsdpDevice discoveredDevice

A DiscoveredSsdpDevice instance representing the device that has become unavailable.

System.Boolean expired

A boolean value indicating whether this device is unavailable because it expired, or because it explicitly sent a byebye notification.. See Expired for more detail.

Exceptions
Type Condition
System.ArgumentNullException

Thrown if the discoveredDevice parameter is null.

Properties

DiscoveredDevice

A reference to a DiscoveredSsdpDevice instance containing the discovery details of the removed device.

Declaration
public DiscoveredSsdpDevice DiscoveredDevice { get; }
Property Value
Type Description
DiscoveredSsdpDevice

Expired

Returns true if the device is considered unavailable because it's cached information expired before a new alive notification or search result was received. Returns false if the device is unavailable because it sent an explicit notification of it's unavailability.

Declaration
public bool Expired { get; }
Property Value
Type Description
System.Boolean
In This Article
Back to top Copyright (c) 2015 Troy Willmot