UdpClient.Active Property
Definition
Gets or sets a value indicating whether a default remote host has been established.
protected:
property bool Active { bool get(); void set(bool value); };
protected bool Active { get; set; }
member this.Active : bool with get, set
Protected Property Active As Boolean
Property Value
true
if a connection is active; otherwise, false
.
Remarks
Classes deriving from UdpClient can use this property to determine if a default remote host has been established. You can establish a default remote host by using the appropriate constructor or by calling the Connect method. If you do establish a default remote host, you cannot specify a remote host in your call to Send.