IPv6InterfaceProperties.GetScopeId Method

.NET Framework 4.6 and 4.5

Gets the scope ID of the network interface associated with an Internet Protocol version 6 (IPv6) address.

Namespace:  System.Net.NetworkInformation
Assembly:  System (in System.dll)

public virtual long GetScopeId(
	ScopeLevel scopeLevel
)

Parameters

scopeLevel
Type: System.Net.NetworkInformation.ScopeLevel

The scope level.

Return Value

Type: System.Int64
Returns Int64.
The scope ID of the network interface associated with an IPv6 address.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft