FastTunnel/FastTunnel.Core.Client/Utilitys/AssemblyUtility.cs

19 lines
528 B
C#
Raw Permalink Normal View History

2022-01-02 00:23:39 +08:00
// Licensed under the Apache License, Version 2.0 (the "License").
// You may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// https://github.com/FastTunnel/FastTunnel/edit/v2/LICENSE
// Copyright (c) 2019 Gui.H
using System;
2021-08-10 20:33:29 +08:00
namespace FastTunnel.Core.Utilitys
{
public static class AssemblyUtility
{
public static Version GetVersion()
{
return System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
}
}
}