ICookie.GetPorts Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the Port attribute.
[Android.Runtime.Register("getPorts", "()[I", "GetGetPortsHandler:Org.Apache.Http.Cookies.ICookieInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int[]? GetPorts();
[<Android.Runtime.Register("getPorts", "()[I", "GetGetPortsHandler:Org.Apache.Http.Cookies.ICookieInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetPorts : unit -> int[]
Returns
The cookie's port array, or null if no port array is set. Under RFC 2965, when the Port attribute is present, the request port must be in this array; a null or empty array does not match any port.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.