How do I use SecureString type in SharePoint 2007?

SecureString is the type that’s used for passwords in SharePoint 2007.  You might find its use when you are automating some “higher level” administration operation (like creating a web application for example).  How do you use it is shown below: 1: private static SecureString ConvertString(string strPwd) 2: { 3: if (strPwd == null) 4: return…

3