NSUrlCredentialStorage.GetDefaultCredential 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.
Overloads
GetDefaultCredential(NSUrlProtectionSpace, NSUrlSessionTask, Action<NSUrlCredential>) | |
GetDefaultCredential(NSUrlProtectionSpace) |
GetDefaultCredential(NSUrlProtectionSpace, NSUrlSessionTask, Action<NSUrlCredential>)
[Foundation.Export("getDefaultCredentialForProtectionSpace:task:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void GetDefaultCredential (Foundation.NSUrlProtectionSpace space, Foundation.NSUrlSessionTask task, Action<Foundation.NSUrlCredential> completionHandler);
abstract member GetDefaultCredential : Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask * Action<Foundation.NSUrlCredential> -> unit
override this.GetDefaultCredential : Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask * Action<Foundation.NSUrlCredential> -> unit
Parameters
- space
- NSUrlProtectionSpace
- task
- NSUrlSessionTask
- Attributes
Applies to
GetDefaultCredential(NSUrlProtectionSpace)
[Foundation.Export("defaultCredentialForProtectionSpace:")]
public virtual Foundation.NSUrlCredential GetDefaultCredential (Foundation.NSUrlProtectionSpace forProtectionSpace);
abstract member GetDefaultCredential : Foundation.NSUrlProtectionSpace -> Foundation.NSUrlCredential
override this.GetDefaultCredential : Foundation.NSUrlProtectionSpace -> Foundation.NSUrlCredential
Parameters
- forProtectionSpace
- NSUrlProtectionSpace
Returns
- Attributes