
DisconnectUser method
Disconnect specific user from the forwarding.
Syntax
- C#
- C++
- VB.NET
void devP2P.Forward_DisconnectUser(IntPtr ForwardHandle, IntPtr UserHandle);
The DisconnectUser(ForwardHandle,UserHandle) syntax has these parts:
The DisconnectUser(ForwardHandle,UserHandle) syntax has these parts:
ForwardHandle | Reference to the CP2PForward instance. |
UserHandle | Reference to CP2PForwardUser that will be disconnected. |
void DisconnectUser(CP2PForwardUser *user);
The DisconnectUser(user) syntax has these parts:
The DisconnectUser(user) syntax has these parts:
user | Reference to CP2PForwardUser that will be disconnected. |
Sub P2PForward_DisconnectUser(ByVal ForwardHandle As IntPtr, ByVal UserHandle As IntPtr)
The DisconnectUser(ForwardHandle,UserHandle) syntax has these parts:
The DisconnectUser(ForwardHandle,UserHandle) syntax has these parts:
ForwardHandle | Reference to the CP2PForward instance. |
UserHandle | Reference to CP2PForwardUser that will be disconnected. |
Platforms
WindowsMac OSX
Linux
BSD