Returns a dictionary containing the credentials for the specified protection space.
Original signature is '- (NSDictionary *)credentialsForProtectionSpace:(NSURLProtectionSpace *)protectionSpace'
Available in Mac OS X v10.2 with Safari 1.0 installed and later.

C# | Visual Basic | Visual C++ |
public virtual NSDictionary CredentialsForProtectionSpace( NSURLProtectionSpace protectionSpace )
Public Overridable Function CredentialsForProtectionSpace ( _ protectionSpace As NSURLProtectionSpace _ ) As NSDictionary
public: virtual NSDictionary^ CredentialsForProtectionSpace( NSURLProtectionSpace^ protectionSpace )

- protectionSpace (NSURLProtectionSpace)
- The protection space whose credentials you want to retrieve.

A dictionary containing the credentials for protectionSpace. The dictionary’s keys are user name strings, and the value is the corresponding NSURLCredential.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)