wabbajack/Wabbajack.DTOs/ApplicationInfo.cs

14 lines
523 B
C#
Raw Permalink Normal View History

2021-10-23 16:51:17 +00:00
namespace Wabbajack.DTOs;
2021-09-27 12:42:46 +00:00
2021-10-23 16:51:17 +00:00
public class ApplicationInfo
2021-09-27 12:42:46 +00:00
{
2021-10-23 16:51:17 +00:00
public string ApplicationName { get; set; }
public string ApplicationSlug { get; set; }
public string Version { get; set; }
public string OperatingSystemDescription { get; set; }
public string Platform { get; set; }
public string ApplicationSha { get; set; }
public string RuntimeIdentifier { get; set; }
public string OSVersion { get; set; }
public string UserAgent => $"{ApplicationSlug}/{Version} ({OSVersion}; {Platform})";
2021-09-27 12:42:46 +00:00
}