Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » managed   (RSS)

Howto: WebDAV SEARCH using C#

' This example shows how to do a SEARCH using C# // C# Example to SEARCH a mailbox. // TODO: // Add a button and double click on it // Add a multi-line text box and make it big. // Add a project reference to System.Xml, an System.Net // Paste-in the code

Howto: WebDAV PROPFIND using VB.NET

' This example shows how to do a PROPFIND using VB.NET ‘ VB.NET PROPFIND ‘ TODO: Create a VB.NET winform with a button and a big multiline text box ‘ TODO: Add references to System.Web, System.XML and System.IO ‘ TODO: Add the code to the form. ‘ TODO:

Handling results of calling Powershell - Multivalued and string arrays.

When calling PowerShell from managed code, you need to be aware of what is being returned and to not process properties returned always as strings. When you get information you were not expecting or no info returned from the call, you should look at TypeNameOfValue
 
Page view tracker