Returns the default credential for the specified protectionSpace.
Original signature is '- (NSURLCredential *)defaultCredentialForProtectionSpace:(NSURLProtectionSpace *)protectionSpace'
Available in Mac OS X v10.2 with Safari 1.0 installed and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSURLCredential DefaultCredentialForProtectionSpace( NSURLProtectionSpace protectionSpace )
Public Overridable Function DefaultCredentialForProtectionSpace ( _ protectionSpace As NSURLProtectionSpace _ ) As NSURLCredential
public: virtual NSURLCredential^ DefaultCredentialForProtectionSpace( NSURLProtectionSpace^ protectionSpace )
Parameters
- protectionSpace (NSURLProtectionSpace)
- The URL protection space of interest.
Return Value
The default credential for protectionSpace or nil if no default has been set.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)