private static byte[] GetData(System.Security.SecureString s) { System.Reflection.FieldInfo fi = s.GetType().GetField("data", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance); return((byte[])fi.GetValue(s)); }