
State property
Returns current devP2P state.
Type
States enumeration.Syntax
- C#
- C++
- VB.NET
int devP2P.GetState(IntPtr Handle);
The State(Handle) syntax has these parts:
The State(Handle) syntax has these parts:
Handle | Reference to the devP2P instance. |
Return value | Current state from States enumeration. |
Function P2P_GetState(ByVal Handle As IntPtr) As Integer
The State(Handle) syntax has these parts:
The State(Handle) syntax has these parts:
Handle | Reference to the devP2P instance. |
Return value | Current state from States enumeration. |
Remarks
State property returns current devP2P state. If devP2P is completely idle, State will hold StateStopped value. As soon as devP2P starts with some activity, StateChange event will fire where you can keep track on devP2P's behavior.Platforms
WindowsMac OSX
Linux
BSD