Share via


VpnTrafficFilter.LocalPortRanges Property

Definition

Gets a list of the local port ranges that are allowed by this traffic filter. Specially useful for identifying SMB.

public:
 property IVector<Platform::String ^> ^ LocalPortRanges { IVector<Platform::String ^> ^ get(); };
IVector<winrt::hstring> LocalPortRanges();
public IList<string> LocalPortRanges { get; }
var iVector = vpnTrafficFilter.localPortRanges;
Public ReadOnly Property LocalPortRanges As IList(Of String)

Property Value

IVector<String>

IList<String>

IVector<Platform::String>

IVector<winrt::hstring>

A list of the local port ranges that are allowed by this traffic filter. Specifically useful for identifying SMB.

Windows requirements

App capabilities
networkingVpnProvider

Applies to