Dela via


VpnIPProtocol Enum

Definition

Defines constants that specify IP protocols (numeric values).

public enum class VpnIPProtocol
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class VpnIPProtocol
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum VpnIPProtocol
var value = Windows.Networking.Vpn.VpnIPProtocol.none
Public Enum VpnIPProtocol
Inheritance
VpnIPProtocol
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
networkingVpnProvider

Fields

Name Value Description
None 0

Specifies no protocol.

Icmp 1

Internet Control Message Protocol (ICMP)

Igmp 2

Internet Group Management Protocol (IGMP)

Tcp 6

Transmission Control Protocol (TCP)

Udp 17

User Datagram Protocol (UDP)

Ipv6Icmp 58

Internet Protocol version 6 (IPv6) Internet Control Message Protocol (ICMP)

Pgm 113

Pragmatic General Multicast (PGM)

Applies to