mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-27 05:45:27 +00:00
76 lines
1.6 KiB
C#
76 lines
1.6 KiB
C#
|
// Decompiled with JetBrains decompiler
|
|||
|
// Type: Office_2010_Toolkit.Result
|
|||
|
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
|||
|
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
|||
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
|||
|
|
|||
|
namespace Office_2010_Toolkit
|
|||
|
{
|
|||
|
public class Result
|
|||
|
{
|
|||
|
private int _ExitCode;
|
|||
|
private string _Output;
|
|||
|
public string _Error;
|
|||
|
|
|||
|
public int ExitCode
|
|||
|
{
|
|||
|
get => this._ExitCode;
|
|||
|
set => this._ExitCode = value;
|
|||
|
}
|
|||
|
|
|||
|
public string Output
|
|||
|
{
|
|||
|
get => this._Output;
|
|||
|
set => this._Output = value;
|
|||
|
}
|
|||
|
|
|||
|
public string Error
|
|||
|
{
|
|||
|
get => this._Error;
|
|||
|
set
|
|||
|
{
|
|||
|
this._Error = value;
|
|||
|
if (this._ExitCode != 0)
|
|||
|
return;
|
|||
|
this._ExitCode = -1;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public Result()
|
|||
|
{
|
|||
|
this._ExitCode = 0;
|
|||
|
this._Output = string.Empty;
|
|||
|
this._Error = string.Empty;
|
|||
|
}
|
|||
|
|
|||
|
public Result(int Exit_Code)
|
|||
|
{
|
|||
|
this._ExitCode = Exit_Code;
|
|||
|
this._Output = string.Empty;
|
|||
|
this._Error = string.Empty;
|
|||
|
}
|
|||
|
|
|||
|
public Result(string Out_Put)
|
|||
|
{
|
|||
|
this._ExitCode = 0;
|
|||
|
this._Output = Out_Put;
|
|||
|
this._Error = string.Empty;
|
|||
|
}
|
|||
|
|
|||
|
public Result(int Exit_Code, string Out_Put)
|
|||
|
{
|
|||
|
this._ExitCode = Exit_Code;
|
|||
|
this._Output = Out_Put;
|
|||
|
this._Error = string.Empty;
|
|||
|
}
|
|||
|
|
|||
|
public bool HasError
|
|||
|
{
|
|||
|
get => this._ExitCode != 0;
|
|||
|
set
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|