/// <returns>Location of the license folder.</returns>
11
21
public static string GetLicenseLocation()
12
22
{
13
23
return Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) ?? throw new DirectoryNotFoundException("Program execution directory not found, while trying to build path to license directory!"), LicenseFolderName);
14
24
}
15
25
26
+
/// <summary>
27
+
/// Static list with all libraries that are used.
28
+
/// </summary>
16
29
public static List<LibraryInfo> List => new List<LibraryInfo>
17
30
{
18
-
new LibraryInfo("MahApps.Metro", "https://github.com/mahapps/mahapps.metro", "AtoolkitforcreatingMetro/ModernUIstyledWPFapps.", "MITLicense", "https://github.com/MahApps/MahApps.Metro/blob/master/LICENSE"),
19
-
new LibraryInfo("MahApps.Metro.IconPacks", "https://github.com/MahApps/MahApps.Metro.IconPacks", "SomeawesomeiconsforWPFandUWPalltogether...", "MITLicense", "https://github.com/MahApps/MahApps.Metro.IconPacks/blob/master/LICENSE"),
20
-
new LibraryInfo("ControlzEx", "https://github.com/ControlzEx/ControlzEx", "SharedControlzforWPFand...more", "MITLicense", "https://github.com/ButchersBoy/Dragablz/blob/master/LICENSE"),
21
-
new LibraryInfo("Octokit", "https://github.com/octokit/octokit.net", "AGitHubAPIclientlibraryfor.NET", "MITLicense", "https://github.com/octokit/octokit.net/blob/master/LICENSE.txt"),
22
-
new LibraryInfo("#SNMP Libary", "https://github.com/lextudio/sharpsnmplib", "SharpSNMPLibrary-OpenSourceSNMPfor.NETandMono", "MITLicense", "https://github.com/lextudio/sharpsnmplib/blob/master/LICENSE"),
23
-
new LibraryInfo("Dragablz", "https://github.com/ButchersBoy/Dragablz", "DragableandtearabletabcontrolforWPF", "MITLicense","https://github.com/ButchersBoy/Dragablz/blob/master/LICENSE"),
24
-
new LibraryInfo("IPNetwork", "https://github.com/lduchosal/ipnetwork", "C#librarytakecareofcomplexnetwork,IP,IPv4,IPv6,netmask,CIDR,subnet,subnetting,supernet,andsupernettingcalculationfor.NETdevelopers.", "BSD-2-Clause", "https://github.com/lduchosal/ipnetwork/blob/master/LICENSE"),
25
-
new LibraryInfo("AirspaceFixer" ,"https://github.com/chris84948/AirspaceFixer", "AirspacePanelfixesallAirspaceissueswithWPF-hostedWinforms.", "MITLicense", "https://github.com/chris84948/AirspaceFixer/blob/master/LICENSE"),
26
-
new LibraryInfo("Newtonsoft.Json", "https://github.com/JamesNK/Newtonsoft.Json", "Json.NETisapopularhigh-performanceJSONframeworkfor.NET", "MITLicense","https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md"),
27
-
new LibraryInfo("LiveCharts", "https://github.com/Live-Charts/Live-Charts", "Simple,flexible,interactive&powerfulcharts,mapsandgaugesfor.Net", "MITLicense","https://github.com/Live-Charts/Live-Charts/blob/master/LICENSE.TXT"),
28
-
new LibraryInfo("LiveCharts.Wpf", "https://github.com/Live-Charts/Live-Charts", "Simple,flexible,interactive&powerfulcharts,mapsandgaugesfor.Net", "MITLicense","https://github.com/Live-Charts/Live-Charts/blob/master/LICENSE.TXT"),
29
-
new LibraryInfo("LoadingIndicators.WPF", "https://github.com/zeluisping/LoadingIndicators.WPF", "AcollectionofloadingindicatorsforWPF", "Unlicense", "https://github.com/zeluisping/LoadingIndicators.WPF/blob/master/LICENSE"),
30
-
new LibraryInfo("DnsClient.NET", "https://github.com/MichaCo/DnsClient.NET","DnsClient.NETisasimpleyetverypowerfulandhighperformantopensourcelibraryforthe.NETFrameworktodoDNSlookups", "ApacheLicene2.0", "https://github.com/MichaCo/DnsClient.NET/blob/dev/LICENSE"),
31
-
new LibraryInfo("PSDiscoveryProtocol", "https://github.com/lahell/PSDiscoveryProtocol","CaptureandparseCDPandLLDPpacketsonlocalorremotecomputers", "MITLicense", "https://github.com/lahell/PSDiscoveryProtocol/blob/master/LICENSE")
31
+
new LibraryInfo("MahApps.Metro", "https://github.com/mahapps/mahapps.metro", Localization.Resources.Strings.Library_MahAppsMetro_Description, Localization.Resources.Strings.License_MITLicense, "https://github.com/MahApps/MahApps.Metro/blob/master/LICENSE"),
32
+
new LibraryInfo("MahApps.Metro.IconPacks", "https://github.com/MahApps/MahApps.Metro.IconPacks", Localization.Resources.Strings.Library_MahAppsMetroIconPacks_Description, Localization.Resources.Strings.License_MITLicense, "https://github.com/MahApps/MahApps.Metro.IconPacks/blob/master/LICENSE"),
33
+
new LibraryInfo("ControlzEx", "https://github.com/ControlzEx/ControlzEx", Localization.Resources.Strings.Library_ControlzEx_Description, Localization.Resources.Strings.License_MITLicense, "https://github.com/ButchersBoy/Dragablz/blob/master/LICENSE"),
34
+
new LibraryInfo("Octokit", "https://github.com/octokit/octokit.net", Localization.Resources.Strings.Library_Octokit_Description, Localization.Resources.Strings.License_MITLicense, "https://github.com/octokit/octokit.net/blob/master/LICENSE.txt"),
35
+
new LibraryInfo("#SNMP Libary", "https://github.com/lextudio/sharpsnmplib", Localization.Resources.Strings.Library_SharpSNMP_Description, Localization.Resources.Strings.License_MITLicense, "https://github.com/lextudio/sharpsnmplib/blob/master/LICENSE"),
36
+
new LibraryInfo("Dragablz", "https://github.com/ButchersBoy/Dragablz", Localization.Resources.Strings.Library_Dragablz_Description, Localization.Resources.Strings.License_MITLicense,"https://github.com/ButchersBoy/Dragablz/blob/master/LICENSE"),
37
+
new LibraryInfo("IPNetwork", "https://github.com/lduchosal/ipnetwork", Localization.Resources.Strings.Library_IPNetwork_Description, Localization.Resources.Strings.License_BDS2Clause, "https://github.com/lduchosal/ipnetwork/blob/master/LICENSE"),
38
+
new LibraryInfo("AirspaceFixer" ,"https://github.com/chris84948/AirspaceFixer", Localization.Resources.Strings.Library_AirspaceFixer_Description, Localization.Resources.Strings.License_MITLicense, "https://github.com/chris84948/AirspaceFixer/blob/master/LICENSE"),
39
+
new LibraryInfo("Newtonsoft.Json", "https://github.com/JamesNK/Newtonsoft.Json", Localization.Resources.Strings.Library_NewtonsoftJson_Description, Localization.Resources.Strings.License_MITLicense,"https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md"),
40
+
new LibraryInfo("LiveCharts", "https://github.com/Live-Charts/Live-Charts", Localization.Resources.Strings.Library_LiveCharts_Description, Localization.Resources.Strings.License_MITLicense,"https://github.com/Live-Charts/Live-Charts/blob/master/LICENSE.TXT"),
41
+
new LibraryInfo("LiveCharts.Wpf", "https://github.com/Live-Charts/Live-Charts", Localization.Resources.Strings.Library_LiveChartsWPF_Description, Localization.Resources.Strings.License_MITLicense,"https://github.com/Live-Charts/Live-Charts/blob/master/LICENSE.TXT"),
42
+
new LibraryInfo("LoadingIndicators.WPF", "https://github.com/zeluisping/LoadingIndicators.WPF", Localization.Resources.Strings.Library_LoadingIndicatorsWPF_Description, Localization.Resources.Strings.License_Unlicense, "https://github.com/zeluisping/LoadingIndicators.WPF/blob/master/LICENSE"),
43
+
new LibraryInfo("DnsClient.NET", "https://github.com/MichaCo/DnsClient.NET",Localization.Resources.Strings.Library_DnsClientNET_Description, Localization.Resources.Strings.License_ApacheLicense2dot0, "https://github.com/MichaCo/DnsClient.NET/blob/dev/LICENSE"),
44
+
new LibraryInfo("PSDiscoveryProtocol", "https://github.com/lahell/PSDiscoveryProtocol",Localization.Resources.Strings.Library_PSDicoveryProtocol_Description, Localization.Resources.Strings.License_MITLicense, "https://github.com/lahell/PSDiscoveryProtocol/blob/master/LICENSE")
/// This class provides information about resources used within the program.
7
+
/// </summary>
5
8
public static class ResourceManager
6
9
{
10
+
/// <summary>
11
+
/// Static list with all resources that are used.
12
+
/// </summary>
7
13
public static List<ResourceInfo> List => new List<ResourceInfo>
8
14
{
9
-
new ResourceInfo("Organizationally unique identifier", "https://linuxnet.ca/ieee/oui/", "SanitizedIEEEOUIDatafromlinuxnet.ca"),
10
-
new ResourceInfo("Service names and port numbers", "https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml", "ServiceNameandTransportProtocolPortNumberRegistryfromiana.org"),
11
-
new ResourceInfo("flag-icon-css","https://github.com/lipis/flag-icon-css","AcollectionofallcountryflagsinSVG"),
12
-
new ResourceInfo("List of Top-Level-Domains", "https://data.iana.org/TLD/tlds-alpha-by-domain.txt","ListofTop-Level-Domainsfromiana.org,whichisusedtoquerywhoisserversoftheTLDfromwhois.iana.orgviaport43")
15
+
new ResourceInfo("Organizationally unique identifier", "https://linuxnet.ca/ieee/oui/", Localization.Resources.Strings.Resource_OUI_Description),
16
+
new ResourceInfo("Service names and port numbers", "https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml", Localization.Resources.Strings.Resource_ServiceNamePortNumber_Description),
17
+
new ResourceInfo("flag-icon-css","https://github.com/lipis/flag-icon-css", Localization.Resources.Strings.Resource_Flag_Description),
18
+
new ResourceInfo("List of Top-Level-Domains", "https://data.iana.org/TLD/tlds-alpha-by-domain.txt", Localization.Resources.Strings.Resource_ListTLD_Description)
/// Looks up a localized string similar to DnsClient.NET is a simple yet very powerful and high performant open source library for the .NET Framework to do DNS lookups.
3861
+
/// </summary>
3862
+
public static string Library_DnsClientNET_Description {
/// Looks up a localized string similar to C# library take care of complex network, IP, IPv4, IPv6, netmask, CIDR, subnet, subnetting, supernet, and supernetting calculation for .NET developers..
3879
+
/// </summary>
3880
+
public static string Library_IPNetwork_Description {
/// Looks up a localized string similar to List of Top-Level-Domains from iana.org, which is used to query whois servers of the TLD from whois.iana.org via port 43.
6538
+
/// </summary>
6539
+
public static string Resource_ListTLD_Description {
<value>C# library take care of complex network, IP, IPv4, IPv6, netmask, CIDR, subnet, subnetting, supernet, and supernetting calculation for .NET developers.</value>