protected UInt64 GenID() { return(CryptoRandom.Random(UInt64.MaxValue - 2) + 2); }
public void Restore() { _Exists = true; if (writedInFile) { _headersFileStream.WriteByte((long)_StartPos + 16, (byte)(Convert.ToByte(!_Exists) * 128 + (int)CryptoRandom.Random(128))); } }