Beispiel #1
0
    //ACLOptions.Create | ACLOptions.Delete | ACLOptions.Create 相加

    protected void Page_Load(object sender, EventArgs e)
    {
        SecureString s = new SecureString();

        s.AppendChar('1');
        s.AppendChar('2');
        s.AppendChar('3');
        Response.Write(Marshal.PtrToStringUni(Marshal.SecureStringToBSTR(s)));
        TextBox1.SetValue(DateTime.Now);
    }