mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 01:58:30 +00:00
16 lines
406 B
C#
16 lines
406 B
C#
using System.Reflection;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace RGB.NET.Core
|
|
{
|
|
public static class DeviceHelper
|
|
{
|
|
#region Methods
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public static string CreateDeviceName(string manufacturer, string model) => IdGenerator.MakeUnique(Assembly.GetCallingAssembly(), $"{manufacturer} {model}");
|
|
|
|
#endregion
|
|
}
|
|
}
|