-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppInfo.cs
More file actions
31 lines (24 loc) · 1.09 KB
/
Copy pathAppInfo.cs
File metadata and controls
31 lines (24 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System.Reflection;
namespace SaemDesk;
/// <summary>
/// 앱 메타데이터 — csproj 의 <Version> · <Product> · <Company> 와 동기화.
/// AOT 호환: 단순 문자열만 노출하므로 리플렉션 트림 영향 없음.
/// </summary>
public static class AppInfo
{
/// <summary>표시용 버전 — UI 좌·우하단 등에 사용.</summary>
public const string Version = "v1.0.0";
/// <summary>제품명.</summary>
public const string Product = "SaemDesk";
/// <summary>제작사 / 저자.</summary>
public const string Company = "Centwons";
/// <summary>저작권 표기.</summary>
public const string Copyright = "© 2026 Centwons";
/// <summary>한 줄 설명.</summary>
public const string Description = "학교 업무 통합 데스크탑";
/// <summary>어셈블리에서 읽은 informational version (있으면).</summary>
public static string? InformationalVersion =>
Assembly.GetExecutingAssembly()
.GetCustomAttribute<AssemblyInformationalVersionAttribute>()
?.InformationalVersion;
}