Generating Managed WMI Classes

  If you are also writing code using WMI on C#, probably you’ve also use the following classes; ManagementScope, ManagementObjectSearcher, ManagementObjectCollection and also ManagementObject; But they’re not such easy classes to deal with, espacially if you’re using WMI methods. Take a look at this code: private void List(string containerName) { string sorgu = String.Format(“SELECT *...
Okumaya devam...

Creating Folders on Outlook

Here is a simple but usefull tip for outlook add-in developers. You can create new folders with the help of the following code : //using Outlook = Microsoft.Office.Interop.Outlook; //ThisApplication outlook Outlook.MAPIFolder rootFolder = Utility.Folder.GetRootFolder(outlook.Session); Outlook.MAPIFolder tcRootFolder = Utility.Folder.CreateFolder(rootFolder, “My Folder”);...
Okumaya devam...