mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
General code refactor and reformat.
This commit is contained in:
@@ -47,14 +47,12 @@ namespace DiscImageChef.CommonTypes.Metadata
|
||||
/// Gets XML software type for the running version
|
||||
/// </summary>
|
||||
/// <returns>XML software type</returns>
|
||||
public static SoftwareType GetSoftwareType()
|
||||
{
|
||||
return new SoftwareType
|
||||
public static SoftwareType GetSoftwareType() =>
|
||||
new SoftwareType
|
||||
{
|
||||
Name = "DiscImageChef",
|
||||
OperatingSystem = DetectOS.GetRealPlatformID().ToString(),
|
||||
Version = typeof(Version).Assembly.GetName().Version.ToString()
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user