Click or drag to resize

NatPunchModule Methods

The NatPunchModule type exposes the following members.

Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInit Initializes the NAT punch module with a listener to handle punchthrough events.
Public methodNatIntroduce Sends NAT introduction packets to both the host and the client to facilitate punchthrough.
Public methodPollEvents Triggers queued NAT punchthrough events (Success or Request) on the provided INatPunchListener.
Public methodSendNatIntroduceRequest(IPEndPoint, String) Sends a request to the Master Server to introduce this peer to another peer.
Public methodSendNatIntroduceRequest(String, Int32, String) Sends a request to the Master Server to introduce this peer to another peer.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also