Path Property

Cookie.Path Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the path portion of a Uniform Resource Identifier (URI) to which this cookie applies.

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

'Declaration
Public Property Path As String

Property Value

Type: System.String
The path portion of a URI to which this cookie applies.

The Path property specifies the subset of URIs on the origin server to which this Cookie applies. If this property is not specified, then this Cookie will be sent to all pages on the origin server or servers.

The following illustration indicates the domain and path portion of a URI.

Domain and path portion of a URI

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft