OpenNETCF provide a class that will allow you access to the contants on the sim card. Below is a small example of code that you could use :-
Code Snippet
OpenNETCF.Phone.Sim.Sim test = new OpenNETCF.Phone.Sim.Sim();
foreach (OpenNETCF.Phone.Sim.PhonebookEntry entry in test.Phonebook)
{
string name = entry.Text;
string phoneNumber = entry.Address;
}
Code Snippet
OpenNETCF.Phone.Sim.Sim test = new OpenNETCF.Phone.Sim.Sim();
foreach (OpenNETCF.Phone.Sim.PhonebookEntry entry in test.Phonebook)
{
string name = entry.Text;
string phoneNumber = entry.Address;
}
Comments
Post a Comment