This method looks up for the password in the default MacOS keychain for Internet accounts.
Syntax
Parameters
- serverName
- The server name for the Internet password.
- accountName
- The account name for the internet password.
- password
- If the method succeeds, the byte array representing the password.
- protocolType
- Optional network protocol associated with the Internet password. If not provided, defaults to SecProtocol.Http.
- port
- Optional TCP/IP port associated with the Internet password. If not provided, defaults to 0.
- path
- Optional string which represents the path for the Internet password. If not provided, defaults to null.
- authenticationType
- Optional authentication type for the Internet password. If not provided, defaults to SecAuthenticationType.Default.
- securityDomain
- Optional security domain, if the protocol requires it. If not provided, defaults to null.
Returns
If the method succeeds, SecStatusCode.Success is returned. Otherwise the return value indicates the reason for the failure.
Remarks
Requirements
Namespace: MonoMac.Security
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0