System.Net.Cookie.Port Property

Gets or sets a list of TCP ports that the System.Net.Cookie applies to.

Syntax

public string Port { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This attribute restricts the ports to which this System.Net.Cookie may be sent. The default value means no restriction. Setting this to the empty string ("") will restrict the port to the one used in the HTTP response. Otherwise, the value must be a double-quoted string that contains port values delimited with commas.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0