VpnPacketBuffer.TransportAffinity Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a number specifying which transport object to use as specified in the VpnChannel:Start* methods. This allows the selection between the main and the optional transports.
public:
property unsigned int TransportAffinity { unsigned int get(); void set(unsigned int value); };
uint32_t TransportAffinity();
void TransportAffinity(uint32_t value);
public uint TransportAffinity { get; set; }
var uInt32 = vpnPacketBuffer.transportAffinity;
vpnPacketBuffer.transportAffinity = uInt32;
Public Property TransportAffinity As UInteger
Property Value
A value of 0 sets this packet to be sent over the main transport. A value of 1 sets this packet to be sent over the optional transport.
Windows requirements
App capabilities |
networkingVpnProvider
|