Class DeviceEventArgs
Event arguments for the DeviceAdded and DeviceRemoved events.
Inheritance
System.Object
System.EventArgs
DeviceEventArgs
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 DeviceEventArgs : EventArgs
Constructors
DeviceEventArgs(SsdpDevice)
Constructs a new instance for the specified SsdpDevice.
Declaration
public DeviceEventArgs(SsdpDevice device)
Parameters
| Type | Name | Description |
|---|---|---|
| SsdpDevice | device | The SsdpDevice associated with the event this argument class is being used for. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown if the |
Properties
Device
Returns the SsdpDevice instance the event is being raised for.
Declaration
public SsdpDevice Device { get; }
Property Value
| Type | Description |
|---|---|
| SsdpDevice |