mirror of
https://github.com/mm201/pkmn-classic-framework.git
synced 2026-03-31 22:24:56 -05:00
24 lines
632 B
C#
24 lines
632 B
C#
using PkmnFoundations.Support;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
|
|
namespace PkmnFoundations.Web.test
|
|
{
|
|
public partial class NameEncode : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
protected void btnSubmit_Click(object sender, EventArgs e)
|
|
{
|
|
string text = txtName.Text;
|
|
litName.Text = Common.HtmlEncode(GamestatsBase.Common.ToHexStringUpper(EncodedString4.EncodeString(text, text.Length * 2 + 8)));
|
|
}
|
|
}
|
|
} |