Can I access keychains on iPhone using MonoTouch?

I recently started developing iPhone apps with MonoTouch and have to store usernames and passwords over the phone. I want to use a keychain for this, but I can't find anything in the MonoTouch documentation. Can I use it directly with MonoTouch or do I need to write C ++ / C / Objective-C code that uses the keychain and exports it to MonoTouch?

+2


a source to share


1 answer


As per the current documentation , there are no keychain bindings.

Your solutions:



  • send a Novell request for bindings.
  • write a .NET wrapper around the KeyChain function by P / Invoke. the next page gives you some hint on how to do this. If you need any direction on how to provide an object-oriented wrapper for KeyChain, you can get some inspiration from the EMKeyChain library .
+1


a source







All Articles