Foundation.NSUrlCredential.FromUserPasswordPersistance Method
Creates an NSUrlCredential from username and password.

Syntax

[Foundation.Export("credentialWithUser:password:persistence:")]
public static NSUrlCredential FromUserPasswordPersistance (string user, string password, NSUrlCredentialPersistence persistence)

Parameters

user
User for the credential.
password
Password for the credential.
persistence
Specifies how long the credential should be kept.

Returns

Remarks

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0