The method allows to add a new generic password to the default keychain (MacOS only).
Syntax
Parameters
- serviceName
- The name of the service for the generic password.
- accountName
- The name of the account for the generic password.
- password
- Array of bytes representing the password.
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