Edit

Share via


NetworkPortRange.SetRange(Int32, Int32) Method

Definition

Changes the port range for all audio/video communication.

public:
 void SetRange(int localNetworkPortMin, int localNetworkPortMax);
public void SetRange (int localNetworkPortMin, int localNetworkPortMax);
member this.SetRange : int * int -> unit
Public Sub SetRange (localNetworkPortMin As Integer, localNetworkPortMax As Integer)

Parameters

localNetworkPortMin
Int32

Defines minimum port to be used for audio/video communcation.

localNetworkPortMax
Int32

Defines maximum port to be used for audio/video communication.

Exceptions

Thrown when either value is outside of MinPortValue, MaxPortValue range.

Thrown when the min port value is greater or equal to max port range.

Applies to