NSUrlCredential.FromUserPasswordPersistance 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.
Caution
Use 'Create' instead.
[Foundation.Export("credentialWithUser:password:persistence:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSUrlCredential FromUserPasswordPersistance(string user, string password, Foundation.NSUrlCredentialPersistence persistence);
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[System.Obsolete("Use 'Create' instead.", false)]
public static Foundation.NSUrlCredential FromUserPasswordPersistance(string user, string password, Foundation.NSUrlCredentialPersistence persistence);
[<Foundation.Export("credentialWithUser:password:persistence:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromUserPasswordPersistance : string * string * Foundation.NSUrlCredentialPersistence -> Foundation.NSUrlCredential
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<System.Obsolete("Use 'Create' instead.", false)>]
static member FromUserPasswordPersistance : string * string * Foundation.NSUrlCredentialPersistence -> Foundation.NSUrlCredential
Parameters
- user
- String
- password
- String
- persistence
- NSUrlCredentialPersistence
Returns
- Attributes