Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.73 KB | None | 0 0
  1.  
  2.  
  3.  
  4.   private void button3_Click(object sender, EventArgs e)
  5.         {
  6.             string codedValue = txtPlayerID.Text;
  7.             Core.Extensions.ToBasic64(codedValue);
  8.             // string decoded;
  9.             //byte[] bytes = new byte[codedValue.Length * sizeof(char)];
  10.             //System.Buffer.BlockCopy(codedValue.ToCharArray(), 0, bytes, 0, bytes.Length);
  11.             //byte = Encoding.UTF8.GetString(codedValue);            
  12.             textBox2.Text = " " + codedValue; //, "RaonGames-Since-2013-05-01-Alone");  //I've commented everything out just to get the string to replace. It gives me an error here.
  13.            }
  14.  
  15.  
  16. And My attempt to fix the string error... Ive tried other methods but they aren't reflected above.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement