reformat code whitespaces
This commit is contained in:
parent
68869b9c80
commit
6b99b60603
5 changed files with 122 additions and 122 deletions
|
@ -316,11 +316,11 @@ internal class Utils
|
||||||
ToReturn = ToReturn.Replace("]", "aaa");
|
ToReturn = ToReturn.Replace("]", "aaa");
|
||||||
ToReturn = ToReturn.Replace("G0", "ppp");
|
ToReturn = ToReturn.Replace("G0", "ppp");
|
||||||
ToReturn = ToReturn.Replace("0x", "lll");
|
ToReturn = ToReturn.Replace("0x", "lll");
|
||||||
writetolog("Encrypted: " + Line , ToReturn, true);
|
writetolog("Encrypted: " + Line, ToReturn, true);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
writetolog("Error enrypt " + Line , ex.Message, true);
|
writetolog("Error enrypt " + Line, ex.Message, true);
|
||||||
}
|
}
|
||||||
return ToReturn;
|
return ToReturn;
|
||||||
}
|
}
|
||||||
|
@ -349,11 +349,11 @@ internal class Utils
|
||||||
cryptoStream.Write(inputbyteArray, 0, inputbyteArray.Length);
|
cryptoStream.Write(inputbyteArray, 0, inputbyteArray.Length);
|
||||||
cryptoStream.FlushFinalBlock();
|
cryptoStream.FlushFinalBlock();
|
||||||
ToReturn = Encoding.UTF8.GetString(ms.ToArray());
|
ToReturn = Encoding.UTF8.GetString(ms.ToArray());
|
||||||
writetolog("Decrypted: " + Line , ToReturn, true);
|
writetolog("Decrypted: " + Line, ToReturn, true);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
writetolog("Decrypt error for : " + Line , ex.Message, true);
|
writetolog("Decrypt error for : " + Line, ex.Message, true);
|
||||||
}
|
}
|
||||||
return ToReturn;
|
return ToReturn;
|
||||||
}
|
}
|
||||||
|
@ -383,7 +383,7 @@ internal class Utils
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
filename = "FAILED";
|
filename = "FAILED";
|
||||||
writetolog("Error getting file for : " + url , ex.Message);
|
writetolog("Error getting file for : " + url, ex.Message);
|
||||||
}
|
}
|
||||||
return filename;
|
return filename;
|
||||||
}
|
}
|
||||||
|
@ -1031,7 +1031,7 @@ internal class Utils
|
||||||
}
|
}
|
||||||
catch (Exception ex2)
|
catch (Exception ex2)
|
||||||
{
|
{
|
||||||
writetolog("Error proccessing for : " + line , ex2.Message);
|
writetolog("Error proccessing for : " + line, ex2.Message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue