Discuss this help topic in SecureBlackbox Forum

WebDAV: Create vCard locally

New vCard is created using TElVCard class:

C#:


TElVCard Card = new TElVCard();

Card.Name = "VCARD";
Card.SetPropertyValue("VERSION", "4.0");
Card.SetPropertyValue("TITLE", "Name Surname");
Card.SetPropertyValue("EMAIL", "test@domain.com");
Card.SetPropertyValue("TEL", "+11115551212");

TElDirInfoAttribute attr = new TElDirInfoAttribute();
attr.Name = "TYPE";
attr.Value = "work, voice";
Card.get_Properties("TEL").get_SubProperties(0).AddAttribute(attr);

MemoryStream ms = new MemoryStream();
Card.SaveToStream(ms);

How To articles about WebDAV client

Discuss this help topic in SecureBlackbox Forum