Initial Commit

Update .drone.yml, .gitignore, and 12 more files...
This commit is contained in:
2022-10-24 20:08:14 +02:00
commit b595208830
14 changed files with 467 additions and 0 deletions
@@ -0,0 +1,18 @@
namespace NibblePoker.Library.ComPortWatcher;
public class ComPortInfo {
public string RawName;
public string DeviceName;
public string FriendlyName;
public ComPortInfo(string rawName, string deviceName, string friendlyName = "") {
RawName = rawName;
DeviceName = deviceName;
if(string.IsNullOrEmpty(friendlyName)) {
FriendlyName = "No friendly name found (" + rawName + ")";
} else {
FriendlyName = friendlyName;
}
}
}