NSUrlCredentialStorage.SetCredential 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
SetCredential(NSUrlCredential, NSUrlProtectionSpace) | |
SetCredential(NSUrlCredential, NSUrlProtectionSpace, NSUrlSessionTask) |
SetCredential(NSUrlCredential, NSUrlProtectionSpace)
[Foundation.Export("setCredential:forProtectionSpace:")]
public virtual void SetCredential (Foundation.NSUrlCredential credential, Foundation.NSUrlProtectionSpace forProtectionSpace);
abstract member SetCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace -> unit
override this.SetCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace -> unit
Parameters
- credential
- NSUrlCredential
- forProtectionSpace
- NSUrlProtectionSpace
- Attributes
Applies to
SetCredential(NSUrlCredential, NSUrlProtectionSpace, NSUrlSessionTask)
[Foundation.Export("setCredential:forProtectionSpace:task:")]
[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 SetCredential (Foundation.NSUrlCredential credential, Foundation.NSUrlProtectionSpace protectionSpace, Foundation.NSUrlSessionTask task);
abstract member SetCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask -> unit
override this.SetCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask -> unit
Parameters
- credential
- NSUrlCredential
- protectionSpace
- NSUrlProtectionSpace
- task
- NSUrlSessionTask
- Attributes