Advertisement
Guest User

Untitled

a guest
Oct 20th, 2018
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.32 KB | None | 0 0
  1.     try
  2.     {
  3.         input = Convert.FromBase64String(CutString(source, num));
  4.     }
  5.     catch
  6.     {
  7.         try
  8.         {
  9.             input = Convert.FromBase64String(CutString(source + "=", num));
  10.         }
  11.         catch
  12.         {
  13.             try
  14.             {
  15.                 input = Convert.FromBase64String(CutString(source + "==", num));
  16.             }
  17.             catch
  18.             {
  19.                 return null;
  20.             }
  21.         }
  22.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement