• 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 DeviceAvailableEventArgs

Event arguments for the DeviceAvailable event.

Inheritance
System.Object
System.EventArgs
DeviceAvailableEventArgs
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 DeviceAvailableEventArgs : EventArgs

Constructors

DeviceAvailableEventArgs(DiscoveredSsdpDevice, Boolean)

Full constructor.

Declaration
public DeviceAvailableEventArgs(DiscoveredSsdpDevice discoveredDevice, bool isNewlyDiscovered)
Parameters
Type Name Description
DiscoveredSsdpDevice discoveredDevice

A DiscoveredSsdpDevice instance representing the available device.

System.Boolean isNewlyDiscovered

A boolean value indicating whether or not this device came from the cache. See IsNewlyDiscovered 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 discovered details and allowing access to the full device description.

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

IsNewlyDiscovered

Returns true if the device was discovered due to an alive notification, or a search and was not already in the cache. Returns false if the item came from the cache but matched the current search request.

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