These constants specify how long the credential will be kept.
Available in Mac OS X v10.2 and later.
| C# | Visual Basic | Visual C++ |
public enum NSURLCredentialPersistence
Public Enumeration NSURLCredentialPersistence
public enum class NSURLCredentialPersistence
| Member | Description |
|---|---|
| NSURLCredentialPersistenceNone | Credential won't be stored. Available in Mac OS X v10.2 and later. |
| NSURLCredentialPersistenceForSession | Credential will be stored only for this session. Available in Mac OS X v10.2 and later. |
| NSURLCredentialPersistencePermanent | Credential will be stored in the user’s keychain and shared with other applications. Available in Mac OS X v10.2 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)