MonoTouch.Security.SecRecord Class
Tracks a set of properties from the keychain.

See Also: SecRecord Members

Syntax

public class SecRecord : IDisposable

Remarks

This represents a set of properties on a keychain record. It can be used to query the keychain by filling out a few of the properties and calling one of the Query methods on the MonoTouch.Security.SecKeyChain class and it is also used as a result from some of the same Query methods.

You would typically use it like this:

C# Example

var query = new SecRecord (SecKind.InternetPassword) {
   Sever = "bugzilla.novell.com",
   Account = "miguel"
};
var password = SecKeyChain.QueryAsData (query);
Console.WriteLine ("The password for the account is: {0}", password);

  

Related content

Requirements

Namespace: MonoTouch.Security
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0