NatConfiguration Constructor (NatTraversalMethod, String, Boolean) |
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public NatConfiguration(
NatTraversalMethod methodType,
string stunServerAddress,
bool autoDetect
)
Public Sub New (
methodType As NatTraversalMethod,
stunServerAddress As String,
autoDetect As Boolean
)
public:
NatConfiguration(
NatTraversalMethod methodType,
String^ stunServerAddress,
bool autoDetect
)
new :
methodType : NatTraversalMethod *
stunServerAddress : string *
autoDetect : bool -> NatConfiguration
Parameters
- methodType
- Type: Ozeki.NetworkNatTraversalMethod
The method type used for NAT traversal. - stunServerAddress
- Type: SystemString
STUN/TURN server settings. - autoDetect
- Type: SystemBoolean
Detect NAT settings automatically.
See Also