I have a VCard String that I want to parse and insert to the phone's contacts store. I checked this link http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207024(v=vs.105).aspx#BKMK_UsingtheRemoteIdHelperclass
and found the following method
ContactInformation info = await ContactInformation.ParseVcardAsync(IInputStream vcard);
how can I convert my VCard String to an IInputStream so that I can parse it ?
Thanks
OK, I found this:
We'll use the WindowsRuntimeStreamExtensions class to convert the System.IO Streams to the Windows.Storage.Streams objects:
I Used this class
with this code
hope this helps