Foundation.NSUrlCredential Class
Authentication credentials

See Also: NSUrlCredential Members

Syntax

[Foundation.Register("NSURLCredential", true)]
public class NSUrlCredential : NSObject, INSCopying, INSSecureCoding, IDisposable

Remarks

Authentication credentials can be created either with a username/password pair, a security identity and its certificates or based on a server trust authentication (currently, requires a handle to the low-level SecTrustRef native handle).

NSUrlCredential objects are typically created in the NSUrlConnectionDelegate.ReceivedAuthenticationChallenge method and passed to the NSUrlConnection.UseCredentials method.

Related content

Requirements

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