Skip to content

MartinM85/MapiDotNetExtensions

Repository files navigation

MapiDotNetExtensions

.NET extensions for MAPI properties.

PidLidVerbStreamConverter

Converts binary data encoded as base-64 to an object that represents the verb stream. It also converts a list of voting options to the base-64 string.

Decode

var base64string = "AA..";
var verbStream = PidLidVerbStreamConverter.GetFromBase64(base64string);
var bytes = new byte[] {...};
var verbStream = PidLidVerbStreamConverter.GetFromBytes(bytes);

Encode

var voteOptions = new List<string> { "Yes", "No" };
var base64string = PidLidVerbStreamConverter.ToBase64String(voteOptions);

var verbStream = new VerbStream { ... };
var base64string = PidLidVerbStreamConverter.ToBase64String(verbStream);
var voteOptions = new List<string> { "Yes", "No" };
var bytes = PidLidVerbStreamConverter.ToBytes(voteOptions);

var verbStream = new VerbStream { ... };
var bytes = PidLidVerbStreamConverter.ToBytes(verbStream);

About

.NET extensions for MAPI properties

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages