This documentation is archived and is not being maintained.

UdpClient Methods

(see also Protected Methods )
  Name Description
Public method BeginReceive Receives a datagram from a remote host asynchronously.
Public method BeginSend Overloaded. Sends a datagram to a remote host asynchronously.
Public method Supported by the .NET Compact Framework Close Closes the UDP connection.
Public method Supported by the .NET Compact Framework Connect Overloaded. Establishes a default remote host.
Public method Supported by the .NET Compact Framework DropMulticastGroup Overloaded. Leaves a multicast group.
Public method EndReceive Ends a pending asynchronous receive.
Public method EndSend Ends a pending asynchronous send.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework JoinMulticastGroup Overloaded. Adds a UdpClient to a multicast group.
Public method Supported by the .NET Compact Framework Receive Returns a UDP datagram that was sent by a remote host.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Send Overloaded. Sends a UDP datagram to a remote host.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Dispose Releases the unmanaged resources used by the UdpClient and optionally releases the managed resources.
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.IDisposable.Dispose Releases all resources used by the UdpClient.
Top
Show: