Files
SabreTools.Models/Hashfile/Hashfile.cs

59 lines
1.2 KiB
C#
Raw Permalink Normal View History

2023-09-04 00:07:54 -04:00
namespace SabreTools.Models.Hashfile
{
/// <remarks>Hashfiles can only contain one type of hash at a time</remarks>
public class Hashfile
{
2023-09-04 01:31:30 -04:00
#if NET48
public SFV[] SFV { get; set; }
#else
2023-09-04 00:07:54 -04:00
public SFV[]? SFV { get; set; }
2023-09-04 01:31:30 -04:00
#endif
2023-09-04 00:07:54 -04:00
2023-09-04 01:31:30 -04:00
#if NET48
public MD5[] MD5 { get; set; }
#else
2023-09-04 00:07:54 -04:00
public MD5[]? MD5 { get; set; }
2023-09-04 01:31:30 -04:00
#endif
2023-09-04 00:07:54 -04:00
2023-09-04 01:31:30 -04:00
#if NET48
public SHA1[] SHA1 { get; set; }
#else
2023-09-04 00:07:54 -04:00
public SHA1[]? SHA1 { get; set; }
2023-09-04 01:31:30 -04:00
#endif
2023-09-04 00:07:54 -04:00
2023-09-04 01:31:30 -04:00
#if NET48
public SHA256[] SHA256 { get; set; }
#else
2023-09-04 00:07:54 -04:00
public SHA256[]? SHA256 { get; set; }
2023-09-04 01:31:30 -04:00
#endif
2023-09-04 00:07:54 -04:00
2023-09-04 01:31:30 -04:00
#if NET48
public SHA384[] SHA384 { get; set; }
#else
2023-09-04 00:07:54 -04:00
public SHA384[]? SHA384 { get; set; }
2023-09-04 01:31:30 -04:00
#endif
2023-09-04 00:07:54 -04:00
2023-09-04 01:31:30 -04:00
#if NET48
public SHA512[] SHA512 { get; set; }
#else
2023-09-04 00:07:54 -04:00
public SHA512[]? SHA512 { get; set; }
2023-09-04 01:31:30 -04:00
#endif
2023-09-04 00:07:54 -04:00
2023-09-04 01:31:30 -04:00
#if NET48
public SpamSum[] SpamSum { get; set; }
#else
2023-09-04 00:07:54 -04:00
public SpamSum[]? SpamSum { get; set; }
2023-09-04 01:31:30 -04:00
#endif
2023-09-04 00:07:54 -04:00
#region DO NOT USE IN PRODUCTION
/// <remarks>Should be empty</remarks>
2023-09-04 01:31:30 -04:00
#if NET48
public string[] ADDITIONAL_ELEMENTS { get; set; }
#else
2023-09-04 00:07:54 -04:00
public string[]? ADDITIONAL_ELEMENTS { get; set; }
2023-09-04 01:31:30 -04:00
#endif
2023-09-04 00:07:54 -04:00
#endregion
}
}