Update MainForm.cs

Comma replace in seed sting for DTS Monaco users
This commit is contained in:
Sergey 2023-03-01 11:07:09 +02:00 committed by GitHub
parent 8944657142
commit a9909182af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ namespace VisualUnlockECU
public void TryRefreshKey() public void TryRefreshKey()
{ {
bool validHex = true; bool validHex = true;
string cleanedText = txtSeedValue.Text.Replace(" ", "").Replace("\r", "").Replace("\n", "").Replace("\t", "").Replace("-", "").ToUpper(); string cleanedText = txtSeedValue.Text.Replace(",", "").Replace(" ", "").Replace("\r", "").Replace("\n", "").Replace("\t", "").Replace("-", "").ToUpper();
if (cleanedText.Length % 2 != 0) if (cleanedText.Length % 2 != 0)
{ {
validHex = false; validHex = false;