v1.2.1
This commit is contained in:
@@ -1,9 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
||||
</startup>
|
||||
<connectionStrings>
|
||||
<add name="DefaultConnection" connectionString="Data Source = |SQL/CE|"/>
|
||||
<add name="DefaultConnection" connectionString="Data Source = |SQL/CE|" />
|
||||
</connectionStrings>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-9.0.0.9" newVersion="9.0.0.9" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-9.0.0.9" newVersion="9.0.0.9" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
|
||||
40
Mip/AppOptions.cs
Normal file
40
Mip/AppOptions.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Net.NetworkInformation;
|
||||
|
||||
namespace Mip
|
||||
{
|
||||
public class AppOptions
|
||||
{
|
||||
public string Host { get; set; }
|
||||
public string Port { get; set; }
|
||||
public string LoginName { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string Database { get; set; }
|
||||
public bool Connetable { get; set; }
|
||||
|
||||
public AppOptions(string host, string port, string loginName, string password, string database)
|
||||
{
|
||||
Host = host;
|
||||
Port = port;
|
||||
LoginName = loginName;
|
||||
Password = password;
|
||||
Database = database;
|
||||
Connetable = CheckConnectivity();
|
||||
}
|
||||
|
||||
private bool CheckConnectivity()
|
||||
{
|
||||
Ping pingIP = new Ping();
|
||||
try
|
||||
{
|
||||
var pingReply = pingIP.Send(Host);
|
||||
|
||||
return pingReply.Status.ToString() == "Success";
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,10 +8,11 @@
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Mip</RootNamespace>
|
||||
<AssemblyName>Mip1.1</AssemblyName>
|
||||
<AssemblyName>Mip1.2</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
@@ -28,7 +29,6 @@
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<BootstrapperComponentsUrl>D:\Záloha\Install - Software\.NET FrameWork 4.5</BootstrapperComponentsUrl>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
@@ -88,13 +88,52 @@
|
||||
<Reference Include="GMap.NET.WindowsForms">
|
||||
<HintPath>DLL\GMap.NET.WindowsForms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=9.0.0.9, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.9.0.9\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Configuration, Version=9.0.0.9, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Configuration.9.0.9\lib\net462\Microsoft.Extensions.Configuration.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Configuration.Abstractions, Version=9.0.0.9, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Configuration.Abstractions.9.0.9\lib\net462\Microsoft.Extensions.Configuration.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Configuration.Binder, Version=9.0.0.9, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Configuration.Binder.9.0.9\lib\net462\Microsoft.Extensions.Configuration.Binder.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Configuration.FileExtensions, Version=9.0.0.9, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Configuration.FileExtensions.9.0.9\lib\net462\Microsoft.Extensions.Configuration.FileExtensions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Configuration.Json, Version=9.0.0.9, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Configuration.Json.9.0.9\lib\net462\Microsoft.Extensions.Configuration.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.DependencyInjection, Version=9.0.0.9, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.9.0.9\lib\net462\Microsoft.Extensions.DependencyInjection.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions, Version=9.0.0.9, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.9.0.9\lib\net462\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.FileProviders.Abstractions, Version=9.0.0.9, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.FileProviders.Abstractions.9.0.9\lib\net462\Microsoft.Extensions.FileProviders.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.FileProviders.Physical, Version=9.0.0.9, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.FileProviders.Physical.9.0.9\lib\net462\Microsoft.Extensions.FileProviders.Physical.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.FileSystemGlobbing, Version=9.0.0.9, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.FileSystemGlobbing.9.0.9\lib\net462\Microsoft.Extensions.FileSystemGlobbing.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=8.0.0.2, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.8.0.2\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Primitives, Version=9.0.0.9, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Primitives.9.0.9\lib\net462\Microsoft.Extensions.Primitives.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.VisualBasic" />
|
||||
<Reference Include="Microsoft.VisualBasic.Compatibility" />
|
||||
<Reference Include="MonthCalendar">
|
||||
<HintPath>Controls\MonthCalendar.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MySql.Data">
|
||||
<HintPath>DLL\MySql.Data.dll</HintPath>
|
||||
<Reference Include="MySqlConnector, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MySqlConnector.2.4.0\lib\net48\MySqlConnector.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MyTools">
|
||||
<HintPath>DLL\MyTools.dll</HintPath>
|
||||
@@ -114,14 +153,46 @@
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Design" />
|
||||
<Reference Include="System.Diagnostics.DiagnosticSource, Version=8.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Diagnostics.DiagnosticSource.8.0.1\lib\net462\System.Diagnostics.DiagnosticSource.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.DirectoryServices" />
|
||||
<Reference Include="System.IO.Pipelines, Version=9.0.0.9, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Pipelines.9.0.9\lib\net462\System.IO.Pipelines.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Management" />
|
||||
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.Security" />
|
||||
<Reference Include="System.ServiceModel" />
|
||||
<Reference Include="System.Text.Encodings.Web, Version=9.0.0.9, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Text.Encodings.Web.9.0.9\lib\net462\System.Text.Encodings.Web.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Text.Json, Version=9.0.0.9, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Text.Json.9.0.9\lib\net462\System.Text.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Transactions" />
|
||||
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
@@ -137,6 +208,7 @@
|
||||
<Reference Include="WindowsBase" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AppOptions.cs" />
|
||||
<Compile Include="classDiskOperations.cs" />
|
||||
<Compile Include="classGlobal.cs" />
|
||||
<Compile Include="classMapa.cs" />
|
||||
@@ -445,7 +517,11 @@
|
||||
<None Include="app.manifest">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="appsettings.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Mip_TemporaryKey.pfx" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
@@ -465,9 +541,9 @@
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.8">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
|
||||
<ProductName>Microsoft .NET Framework 4.8 %28x86 and x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
|
||||
@@ -1,8 +1,14 @@
|
||||
using System;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Mip.Properties;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using ConfigurationBuilder = Microsoft.Extensions.Configuration.ConfigurationBuilder;
|
||||
|
||||
namespace Mip
|
||||
{
|
||||
@@ -16,6 +22,14 @@ namespace Mip
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
var builder = new ConfigurationBuilder()
|
||||
.SetBasePath(Directory.GetCurrentDirectory())
|
||||
.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true);
|
||||
IConfigurationRoot configuration = builder.Build();
|
||||
|
||||
classUser.AppOptions = configuration.Get<AppOptions>();
|
||||
|
||||
Application.Run(new frmMain());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.1.16.0")]
|
||||
[assembly: AssemblyFileVersion("1.1.16.0")]
|
||||
[assembly: AssemblyVersion("1.2.1.0")]
|
||||
[assembly: AssemblyFileVersion("1.2.1.0")]
|
||||
|
||||
BIN
Mip/Resources/Mip1.2.lnk
Normal file
BIN
Mip/Resources/Mip1.2.lnk
Normal file
Binary file not shown.
@@ -17,7 +17,7 @@
|
||||
compatibility then delete the requestedExecutionLevel node.
|
||||
-->
|
||||
<!--requestedExecutionLevel level="asInvoker" uiAccess="false" />-->
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
</requestedPrivileges>
|
||||
<applicationRequestMinimum>
|
||||
<defaultAssemblyRequest permissionSetReference="Custom" />
|
||||
|
||||
7
Mip/appsettings.json
Normal file
7
Mip/appsettings.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"Host": "192.168.1.68",
|
||||
"Port": "3306",
|
||||
"LoginName": "mip",
|
||||
"Password": "mip@2013",
|
||||
"Database": "mip"
|
||||
}
|
||||
Binary file not shown.
@@ -21,87 +21,95 @@ namespace Mip
|
||||
{
|
||||
if (Directory.Exists(TempPath)) //adresár už existuje
|
||||
{
|
||||
RemovePathProtection(TempPath);
|
||||
//RemovePathProtection(TempPath);
|
||||
System.IO.DirectoryInfo adresar = new System.IO.DirectoryInfo(TempPath);
|
||||
|
||||
foreach (System.IO.FileInfo file in adresar.GetFiles()) file.Delete();
|
||||
foreach (System.IO.DirectoryInfo subDirectory in adresar.GetDirectories()) subDirectory.Delete(true);
|
||||
AddPathProtection(TempPath);
|
||||
//AddPathProtection(TempPath);
|
||||
}
|
||||
|
||||
// adresar neexistuje - vytvorenie
|
||||
else
|
||||
{
|
||||
Directory.CreateDirectory(TempPath);
|
||||
AddPathProtection(TempPath);
|
||||
try
|
||||
{
|
||||
Directory.CreateDirectory(TempPath);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
MessageBox.Show(e.Message);
|
||||
throw;
|
||||
}
|
||||
//AddPathProtection(TempPath);
|
||||
}
|
||||
}
|
||||
|
||||
public static void AddPathProtection(string _Directory)
|
||||
{
|
||||
string UserName = "";
|
||||
//public static void AddPathProtection(string _Directory)
|
||||
//{
|
||||
// string UserName = "";
|
||||
|
||||
SelectQuery query = new SelectQuery("Win32_UserAccount");
|
||||
ManagementObjectSearcher searcher = new ManagementObjectSearcher(query);
|
||||
foreach (ManagementObject envVar in searcher.Get())
|
||||
{
|
||||
UserName = envVar["Domain"].ToString() + "\\" + envVar["Name"].ToString();
|
||||
// SelectQuery query = new SelectQuery("Win32_UserAccount");
|
||||
// ManagementObjectSearcher searcher = new ManagementObjectSearcher(query);
|
||||
// foreach (ManagementObject envVar in searcher.Get())
|
||||
// {
|
||||
// UserName = envVar["Domain"].ToString() + "\\" + envVar["Name"].ToString();
|
||||
|
||||
DirectorySecurity ds = Directory.GetAccessControl(_Directory);
|
||||
FileSystemAccessRule fsa = new FileSystemAccessRule(UserName, FileSystemRights.FullControl, AccessControlType.Deny);
|
||||
// DirectorySecurity ds = Directory.GetAccessControl(_Directory);
|
||||
// FileSystemAccessRule fsa = new FileSystemAccessRule(UserName, FileSystemRights.FullControl, AccessControlType.Deny);
|
||||
|
||||
ds.AddAccessRule(fsa);
|
||||
Directory.SetAccessControl(_Directory, ds);
|
||||
// ds.AddAccessRule(fsa);
|
||||
// Directory.SetAccessControl(_Directory, ds);
|
||||
|
||||
}
|
||||
}
|
||||
// }
|
||||
//}
|
||||
|
||||
public static void RemovePathProtection(string _Directory)
|
||||
{
|
||||
string UserName = "";
|
||||
//public static void RemovePathProtection(string _Directory)
|
||||
//{
|
||||
// string UserName = "";
|
||||
|
||||
SelectQuery query = new SelectQuery("Win32_UserAccount");
|
||||
ManagementObjectSearcher searcher = new ManagementObjectSearcher(query);
|
||||
foreach (ManagementObject envVar in searcher.Get())
|
||||
{
|
||||
UserName = envVar["Domain"].ToString() + "\\" + envVar["Name"].ToString();
|
||||
// SelectQuery query = new SelectQuery("Win32_UserAccount");
|
||||
// ManagementObjectSearcher searcher = new ManagementObjectSearcher(query);
|
||||
// foreach (ManagementObject envVar in searcher.Get())
|
||||
// {
|
||||
// UserName = envVar["Domain"].ToString() + "\\" + envVar["Name"].ToString();
|
||||
|
||||
DirectorySecurity ds = Directory.GetAccessControl(_Directory);
|
||||
FileSystemAccessRule fsa = new FileSystemAccessRule(UserName, FileSystemRights.FullControl, AccessControlType.Deny);
|
||||
// DirectorySecurity ds = Directory.GetAccessControl(_Directory);
|
||||
// FileSystemAccessRule fsa = new FileSystemAccessRule(UserName, FileSystemRights.FullControl, AccessControlType.Deny);
|
||||
|
||||
ds.RemoveAccessRule(fsa);
|
||||
Directory.SetAccessControl(_Directory, ds);
|
||||
// ds.RemoveAccessRule(fsa);
|
||||
// Directory.SetAccessControl(_Directory, ds);
|
||||
|
||||
}
|
||||
}
|
||||
// }
|
||||
//}
|
||||
|
||||
public static void RemoveCurrentUserProtecion(string _Directory)
|
||||
{
|
||||
string UserName = "";
|
||||
//public static void RemoveCurrentUserProtecion(string _Directory)
|
||||
//{
|
||||
// string UserName = "";
|
||||
|
||||
UserName = Environment.UserDomainName + "\\" + Environment.UserName;
|
||||
// UserName = Environment.UserDomainName + "\\" + Environment.UserName;
|
||||
|
||||
DirectorySecurity ds = Directory.GetAccessControl(_Directory);
|
||||
FileSystemAccessRule fsa = new FileSystemAccessRule(UserName, FileSystemRights.FullControl, AccessControlType.Deny);
|
||||
// DirectorySecurity ds = Directory.GetAccessControl(_Directory);
|
||||
// FileSystemAccessRule fsa = new FileSystemAccessRule(UserName, FileSystemRights.FullControl, AccessControlType.Deny);
|
||||
|
||||
ds.RemoveAccessRule(fsa);
|
||||
Directory.SetAccessControl(_Directory, ds);
|
||||
// ds.RemoveAccessRule(fsa);
|
||||
// Directory.SetAccessControl(_Directory, ds);
|
||||
|
||||
}
|
||||
//}
|
||||
|
||||
public static void AddCurrentUserProtecion(string _Directory)
|
||||
{
|
||||
string UserName = "";
|
||||
//public static void AddCurrentUserProtecion(string _Directory)
|
||||
//{
|
||||
// string UserName = "";
|
||||
|
||||
UserName = Environment.UserDomainName + "\\" + Environment.UserName;
|
||||
// UserName = Environment.UserDomainName + "\\" + Environment.UserName;
|
||||
|
||||
DirectorySecurity ds = Directory.GetAccessControl(_Directory);
|
||||
FileSystemAccessRule fsa = new FileSystemAccessRule(UserName, FileSystemRights.FullControl, AccessControlType.Deny);
|
||||
// DirectorySecurity ds = Directory.GetAccessControl(_Directory);
|
||||
// FileSystemAccessRule fsa = new FileSystemAccessRule(UserName, FileSystemRights.FullControl, AccessControlType.Deny);
|
||||
|
||||
ds.AddAccessRule(fsa);
|
||||
Directory.SetAccessControl(_Directory, ds);
|
||||
// ds.AddAccessRule(fsa);
|
||||
// Directory.SetAccessControl(_Directory, ds);
|
||||
|
||||
}
|
||||
//}
|
||||
|
||||
public static void RemovePath(string _Directory)
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Mip
|
||||
public static void CreateRamDisk()
|
||||
{
|
||||
classDiskOperations.CreatePath();
|
||||
classDiskOperations.RemoveCurrentUserProtecion(classDiskOperations.TempPath);
|
||||
//classDiskOperations.RemoveCurrentUserProtecion(classDiskOperations.TempPath);
|
||||
classDiskOperations.MapDrive(Disk, classDiskOperations.TempPath);
|
||||
|
||||
}
|
||||
@@ -32,7 +32,7 @@ namespace Mip
|
||||
{
|
||||
classDiskOperations.CreatePath();
|
||||
classDiskOperations.UnmapDrive(Disk);
|
||||
classDiskOperations.AddCurrentUserProtecion(classDiskOperations.TempPath);
|
||||
//classDiskOperations.AddCurrentUserProtecion(classDiskOperations.TempPath);
|
||||
|
||||
}
|
||||
|
||||
@@ -479,69 +479,69 @@ namespace Mip
|
||||
}
|
||||
}
|
||||
|
||||
public static void SetServerIP()
|
||||
{
|
||||
System.Net.NetworkInformation.Ping pingIP = new System.Net.NetworkInformation.Ping();
|
||||
string IPaddress = "";
|
||||
PingReply pingReply;
|
||||
//public static void SetServerIP()
|
||||
//{
|
||||
// System.Net.NetworkInformation.Ping pingIP = new System.Net.NetworkInformation.Ping();
|
||||
// string IPaddress = "";
|
||||
// PingReply pingReply;
|
||||
|
||||
IPaddress = Debugger.IsAttached ? "192.168.2.12" : "192.168.1.12"; //IP Adresa MariaDB pre VLAN1
|
||||
// IPaddress = Debugger.IsAttached ? "192.168.1.68" : "192.168.1.12"; //IP Adresa MariaDB pre VLAN1
|
||||
|
||||
//ked sa programuje mino firmu aby to hned naslo staticku ip
|
||||
//IPaddress = "87.197.164.107";
|
||||
// //ked sa programuje mino firmu aby to hned naslo staticku ip
|
||||
// //IPaddress = "87.197.164.107";
|
||||
|
||||
pingReply = pingIP.Send(IPaddress);
|
||||
if (pingReply.Status.ToString() == "Success")
|
||||
{
|
||||
classUser.MariaDBServerIPAddress = IPaddress;
|
||||
}
|
||||
else
|
||||
{
|
||||
IPaddress = Debugger.IsAttached ? "192.168.2.13" : "192.168.1.13"; //IP Adresa MariaDB pre VLAN2
|
||||
// pingReply = pingIP.Send(IPaddress);
|
||||
// if (pingReply.Status.ToString() == "Success")
|
||||
// {
|
||||
// classUser.MariaDBServerIPAddress = IPaddress;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// IPaddress = Debugger.IsAttached ? "192.168.2.13" : "192.168.1.13"; //IP Adresa MariaDB pre VLAN2
|
||||
|
||||
pingReply = pingIP.Send(IPaddress);
|
||||
if (pingReply.Status.ToString() == "Success")
|
||||
{
|
||||
classUser.MariaDBServerIPAddress = IPaddress;
|
||||
}
|
||||
else
|
||||
{
|
||||
// pingReply = pingIP.Send(IPaddress);
|
||||
// if (pingReply.Status.ToString() == "Success")
|
||||
// {
|
||||
// classUser.MariaDBServerIPAddress = IPaddress;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
|
||||
//IPaddress = "127.0.0.1";
|
||||
IPaddress = "192.168.1.68";
|
||||
pingReply = pingIP.Send(IPaddress);
|
||||
if (pingReply.Status.ToString() == "Success")
|
||||
{
|
||||
classUser.MariaDBServerIPAddress = IPaddress;
|
||||
}
|
||||
else
|
||||
{
|
||||
classUser.MariaDBServerIPAddress = "0.0.0.0";
|
||||
MessageBox.Show("Žiadny lokálny ani internetový MariaDB server nebol nájdený!"
|
||||
+ Environment.NewLine
|
||||
+ "Program Mip bude ukončený! ");
|
||||
// //IPaddress = "127.0.0.1";
|
||||
// IPaddress = "192.168.1.68";
|
||||
// pingReply = pingIP.Send(IPaddress);
|
||||
// if (pingReply.Status.ToString() == "Success")
|
||||
// {
|
||||
// classUser.MariaDBServerIPAddress = IPaddress;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// classUser.MariaDBServerIPAddress = "0.0.0.0";
|
||||
// MessageBox.Show("Žiadny lokálny ani internetový MariaDB server nebol nájdený!"
|
||||
// + Environment.NewLine
|
||||
// + "Program Mip bude ukončený! ");
|
||||
|
||||
Environment.Exit(0);
|
||||
}
|
||||
//IPaddress = "87.197.164.107";
|
||||
//pingReply = pingIP.Send(IPaddress);
|
||||
//if (pingReply.Status.ToString() == "Success")
|
||||
//{
|
||||
// classUser.MariaDBServerIPAddress = IPaddress;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// classUser.MariaDBServerIPAddress = "0.0.0.0";
|
||||
// MessageBox.Show("Žiadny lokálny ani internetový MariaDB server nebol nájdený!"
|
||||
// + Environment.NewLine
|
||||
// + "Program Mip bude ukončený! ");
|
||||
// Environment.Exit(0);
|
||||
// }
|
||||
// //IPaddress = "87.197.164.107";
|
||||
// //pingReply = pingIP.Send(IPaddress);
|
||||
// //if (pingReply.Status.ToString() == "Success")
|
||||
// //{
|
||||
// // classUser.MariaDBServerIPAddress = IPaddress;
|
||||
// //}
|
||||
// //else
|
||||
// //{
|
||||
// // classUser.MariaDBServerIPAddress = "0.0.0.0";
|
||||
// // MessageBox.Show("Žiadny lokálny ani internetový MariaDB server nebol nájdený!"
|
||||
// // + Environment.NewLine
|
||||
// // + "Program Mip bude ukončený! ");
|
||||
|
||||
// Environment.Exit(0);
|
||||
// // Environment.Exit(0);
|
||||
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
// //}
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
public static void fillExcelForm(DataTable _formToFill)
|
||||
{
|
||||
|
||||
@@ -1,22 +1,24 @@
|
||||
using System;
|
||||
using MySqlConnector;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Drawing;
|
||||
//using MySql.Data.MySqlClient;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Data;
|
||||
using System.Windows.Forms;
|
||||
using MySql.Data.MySqlClient;
|
||||
using System.IO;
|
||||
using System.Net.Sockets;
|
||||
using System.Net;
|
||||
using System.Drawing;
|
||||
|
||||
namespace Mip
|
||||
{
|
||||
class classSQL
|
||||
{
|
||||
//Deklaracia premennych pre pristup k mySQL cez MYSQL.data
|
||||
|
||||
|
||||
private static MySqlConnection MyConnection;
|
||||
private static MySqlCommand MyCommand;
|
||||
public static MySqlDataReader myData;
|
||||
@@ -30,9 +32,9 @@ namespace Mip
|
||||
/// <param name="_filepath"> Path\Názov súbora , pod ktorým bude uložený na disk</param>
|
||||
public static void ExportFormToHDD(string _nazov,string _filepath)
|
||||
{
|
||||
string ServerIP = classUser.MariaDBServerIPAddress;
|
||||
//string ServerIP = classUser.MariaDBServerIPAddress;
|
||||
|
||||
MyConnection = new MySqlConnection("server=" + ServerIP + ";database=mip; User=mip;Password=mip@2013;;");
|
||||
MyConnection = new MySqlConnection($"server={classUser.AppOptions.Host};database={classUser.AppOptions.Database}; User={classUser.AppOptions.LoginName};Password={classUser.AppOptions.Password};;");
|
||||
|
||||
byte[] FilewData;
|
||||
|
||||
@@ -64,10 +66,11 @@ namespace Mip
|
||||
/// <param name="_VykresData"> pole byte[], v ktorom je uložený obrázok</param>
|
||||
public static void SaveVykresToSQL(int _IDVyrobok,int _IndexVykresu, byte [] _VykresData)
|
||||
{
|
||||
string ServerIP = classUser.MariaDBServerIPAddress;
|
||||
//string ServerIP = classUser.MariaDBServerIPAddress;
|
||||
|
||||
//MyConnection = new MySqlConnection("server=" + ServerIP + ";database=mip; User=mip;Password=mip@2013;;");
|
||||
MyConnection = new MySqlConnection($"server={classUser.AppOptions.Host};database={classUser.AppOptions.Database}; User={classUser.AppOptions.LoginName};Password={classUser.AppOptions.Password};;");
|
||||
|
||||
MyConnection = new MySqlConnection("server=" + ServerIP + ";database=mip; User=mip;Password=mip@2013;;");
|
||||
|
||||
string CmdString = "INSERT INTO `mip`.`tabvykres` (IDVyrobok,IndexVykresu,VykresData) VALUES(@IDVyrobok,@IndexVykresu,@VykresData)";
|
||||
|
||||
MyCommand = new MySqlCommand(CmdString, MyConnection);
|
||||
@@ -96,9 +99,10 @@ namespace Mip
|
||||
/// <param name="_filepath"> Path\Názov súboru, do ktorého je výkres vyexportovaný</param>
|
||||
public static void ExportVykresToHDD(int _IDVyrobok,int _indexVykresu, string _filepath)
|
||||
{
|
||||
string ServerIP = classUser.MariaDBServerIPAddress;
|
||||
//string ServerIP = classUser.MariaDBServerIPAddress;
|
||||
|
||||
MyConnection = new MySqlConnection("server=" + ServerIP + ";database=mip; User=mip;Password=mip@2013;;");
|
||||
//MyConnection = new MySqlConnection("server=" + ServerIP + ";database=mip; User=mip;Password=mip@2013;;");
|
||||
MyConnection = new MySqlConnection($"server={classUser.AppOptions.Host};database={classUser.AppOptions.Database}; User={classUser.AppOptions.LoginName};Password={classUser.AppOptions.Password};;");
|
||||
|
||||
byte[] FilewData;
|
||||
|
||||
@@ -145,10 +149,11 @@ namespace Mip
|
||||
/// <param name="_FormularData"> pole byte[], v ktorom je uložený formulár</param>
|
||||
public static void SaveFormToSQL(string _meno,byte[] _FormularData)
|
||||
{
|
||||
string ServerIP = classUser.MariaDBServerIPAddress;
|
||||
//string ServerIP = classUser.MariaDBServerIPAddress;
|
||||
|
||||
//MyConnection = new MySqlConnection("server=" + ServerIP + ";database=mip; User=mip;Password=mip@2013;;");
|
||||
MyConnection = new MySqlConnection($"server={classUser.AppOptions.Host};database={classUser.AppOptions.Database}; User={classUser.AppOptions.LoginName};Password={classUser.AppOptions.Password};;");
|
||||
|
||||
MyConnection = new MySqlConnection("server=" + ServerIP + ";database=mip; User=mip;Password=mip@2013;;");
|
||||
|
||||
String poznamka = Microsoft.VisualBasic.Interaction.InputBox(null, "Zadaj poznámku k formuláru:");
|
||||
|
||||
string CmdString = "INSERT INTO `mip`.`tabformular` (NazovSuboru,DataSuboru,PoznamkaFormulara) VALUES(@NazovSuboru,@DataSuboru,@PoznamkaFormulara)";
|
||||
@@ -200,9 +205,10 @@ namespace Mip
|
||||
/// <param name="_NakresData"> pole byte[], v ktorom je uložený nákres</param>
|
||||
public static void SaveNakresToSQL(int _IDZiadanka, byte[] _NakresData)
|
||||
{
|
||||
string ServerIP = classUser.MariaDBServerIPAddress;
|
||||
//string ServerIP = classUser.MariaDBServerIPAddress;
|
||||
|
||||
MyConnection = new MySqlConnection("server=" + ServerIP + ";database=mip; User=mip;Password=mip@2013;;");
|
||||
//MyConnection = new MySqlConnection("server=" + ServerIP + ";database=mip; User=mip;Password=mip@2013;;");
|
||||
MyConnection = new MySqlConnection($"server={classUser.AppOptions.Host};database={classUser.AppOptions.Database}; User={classUser.AppOptions.LoginName};Password={classUser.AppOptions.Password};;");
|
||||
|
||||
classSQL.SQL("DELETE FROM `mip`.`tabziadankanakres` WHERE `IDZiadanka` = " + _IDZiadanka.ToString());
|
||||
|
||||
@@ -316,7 +322,8 @@ namespace Mip
|
||||
if (MariaDBConnection != null)
|
||||
MariaDBConnection.Close();
|
||||
|
||||
string connStr = String.Format("server={0}; database={1}; user id={2}; password={3}; pooling={4}; default command timeout={5};", classUser.MariaDBServerIPAddress, "mip", "mip", "mip@2013", "false", "3000");
|
||||
string connStr = String.Format("server={0}; database={1}; user id={2}; password={3}; pooling={4}; default command timeout={5};", classUser.AppOptions.Host, classUser.AppOptions.Database, classUser.AppOptions.LoginName, classUser.AppOptions.Password, false, "3000");
|
||||
;
|
||||
MariaDBConnection = new MySqlConnection(connStr);
|
||||
try
|
||||
{
|
||||
@@ -334,8 +341,8 @@ namespace Mip
|
||||
, "MariaDB server nedostupný!", MessageBoxButtons.YesNo);
|
||||
if (dr == DialogResult.Yes)
|
||||
{
|
||||
classGlobal.SetServerIP();
|
||||
connStr = String.Format("server={0}; database={1}; user id={2}; password={3}; pooling={4}; default command timeout={5};", classUser.MariaDBServerIPAddress, "mip", "mip", "mip@2013", "false", "3000");
|
||||
//classGlobal.SetServerIP();
|
||||
connStr = String.Format("server={0}; database={1}; user id={2}; password={3}; pooling={4}; default command timeout={5};", classUser.AppOptions.Host, classUser.AppOptions.Database, classUser.AppOptions.LoginName, classUser.AppOptions.Password, false, "3000");
|
||||
MariaDBConnection = new MySqlConnection(connStr);
|
||||
try
|
||||
{
|
||||
@@ -455,7 +462,11 @@ namespace Mip
|
||||
//classGlobal.wait(true);
|
||||
ConnectMariaDB();
|
||||
MariaDBCommand(_cmd,true);
|
||||
object Index = MySqlHelper.ExecuteScalar(MariaDBConnection, "SELECT LAST_INSERT_ID();");
|
||||
|
||||
MySqlCommand lastIndexCommand = new MySqlCommand("SELECT LAST_INSERT_ID();", MariaDBConnection);
|
||||
lastIndexCommand.Connection.Open();
|
||||
object Index = lastIndexCommand.ExecuteScalar();
|
||||
|
||||
if (Index != null) MariaDBLastIndex = Convert.ToInt32(Index);
|
||||
else MariaDBLastIndex = 0;
|
||||
outLastIndex = MariaDBLastIndex;
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Mip
|
||||
public static string Priezvisko;
|
||||
public static string Zaradenie;
|
||||
public static int Tab;
|
||||
public static string MariaDBServerIPAddress;
|
||||
//public static string MariaDBServerIPAddress;
|
||||
|
||||
public static Int32 IndexZmatkovitost;
|
||||
public static Int32 IndexExpedicia;
|
||||
@@ -35,6 +35,6 @@ namespace Mip
|
||||
public static bool boolComputerAsleep = false; //sluzi na zablokovanie pristupu do sql pokial je pocitac v rezime spanku
|
||||
public static bool boolEnableRowEnter = true; //sluzi na zablokovanie inych funkcii aby sa nevykonavali pokial sa vykonava funkcia check v frmMain v karte dopytov
|
||||
//public static Int32 IndexVykres;
|
||||
|
||||
public static AppOptions AppOptions { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,12 +31,12 @@ namespace Mip
|
||||
comboBox1.Items.Add(row["Titul"].ToString() + " " + row["Priezvisko"].ToString() + " " + row["Meno"].ToString());
|
||||
}
|
||||
|
||||
if (Debugger.IsAttached)
|
||||
{
|
||||
comboBox1.Text = "Ing. Čulák Roman";
|
||||
textBox1.Text = "3";
|
||||
button2_Click(button2, new EventArgs());
|
||||
}
|
||||
//if (Debugger.IsAttached)
|
||||
//{
|
||||
// comboBox1.Text = "Ing. Čulák Roman";
|
||||
// textBox1.Text = "3";
|
||||
// button2_Click(button2, new EventArgs());
|
||||
//}
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
|
||||
4228
Mip/frmMain.Designer.cs
generated
4228
Mip/frmMain.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -2146,7 +2146,7 @@ namespace Mip
|
||||
private void frmMain_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
classGlobal.DeleteRamDisk();
|
||||
classDiskOperations.RemoveCurrentUserProtecion(classDiskOperations.TempPath);
|
||||
//classDiskOperations.RemoveCurrentUserProtecion(classDiskOperations.TempPath);
|
||||
classDiskOperations.RemovePath(classDiskOperations.TempPath);
|
||||
|
||||
classSQL.SQL("UPDATE `mip`.`tabusers` SET `OnlineStatus`='Offline' WHERE `IDUsers`=" + classUser.ID + ";");
|
||||
@@ -2162,10 +2162,10 @@ namespace Mip
|
||||
this.Height = intHeight;
|
||||
this.Location = new Point(5, 5);
|
||||
|
||||
classGlobal.SetServerIP();
|
||||
//classGlobal.SetServerIP();
|
||||
classUser.LimitSqlPrikazu = Convert.ToInt32(numericUpDown40.Value);
|
||||
|
||||
if (classUser.MariaDBServerIPAddress != "0.0.0.0")
|
||||
if (classUser.AppOptions.Host != "0.0.0.0")
|
||||
{
|
||||
Form frmLogo2 = new frmLogo();
|
||||
frmLogo2.ShowDialog();
|
||||
@@ -2257,7 +2257,7 @@ namespace Mip
|
||||
classSQL.SQL("UPDATE `mip`.`tabusers` SET `OnlineStatus`='Online' WHERE `IDUsers`=" + classUser.ID + ";");
|
||||
this.toolStripStatusLabel1.Text = "Prihásený užívateľ: " + classUser.Titul + " " + classUser.Meno + " " + classUser.Priezvisko;
|
||||
tabControl1.TabPages[0].Select();
|
||||
toolStripStatusLabel2.Text = "IP adresa servera MariaDB: " + classUser.MariaDBServerIPAddress;
|
||||
toolStripStatusLabel2.Text = "IP adresa servera MariaDB: " + classUser.AppOptions.Host;
|
||||
toolStripStatusLabel5.Text = classUser.Zaradenie + ":";
|
||||
if (classUser.Zaradenie == "Administratíva") toolStripStatusLabel6.Visible = false;
|
||||
|
||||
|
||||
1097
Mip/frmMain.resx
1097
Mip/frmMain.resx
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using MySql.Data.MySqlClient;
|
||||
//using MySql.Data.MySqlClient;
|
||||
using System.IO;
|
||||
using System.Drawing.Printing;
|
||||
using System.Drawing.Imaging;
|
||||
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
a4ecd5fb68c8937fb83d0a3f89bb172f6831821e
|
||||
d9d2e9ce114986a611db93957c164edea8bbd64b2303a42d02b97bfcb42e7910
|
||||
|
||||
Binary file not shown.
27
Mip/packages.config
Normal file
27
Mip/packages.config
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Microsoft.Bcl.AsyncInterfaces" version="9.0.9" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Configuration" version="9.0.9" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Configuration.Abstractions" version="9.0.9" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Configuration.Binder" version="9.0.9" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Configuration.FileExtensions" version="9.0.9" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Configuration.Json" version="9.0.9" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.DependencyInjection" version="9.0.9" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="9.0.9" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.FileProviders.Abstractions" version="9.0.9" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.FileProviders.Physical" version="9.0.9" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.FileSystemGlobbing" version="9.0.9" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Logging.Abstractions" version="8.0.2" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Primitives" version="9.0.9" targetFramework="net48" />
|
||||
<package id="MySqlConnector" version="2.4.0" targetFramework="net48" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net48" />
|
||||
<package id="System.Diagnostics.DiagnosticSource" version="8.0.1" targetFramework="net48" />
|
||||
<package id="System.IO.Pipelines" version="9.0.9" targetFramework="net48" />
|
||||
<package id="System.Memory" version="4.5.5" targetFramework="net48" />
|
||||
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net48" />
|
||||
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net48" />
|
||||
<package id="System.Text.Encodings.Web" version="9.0.9" targetFramework="net48" />
|
||||
<package id="System.Text.Json" version="9.0.9" targetFramework="net48" />
|
||||
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net48" />
|
||||
<package id="System.ValueTuple" version="4.5.0" targetFramework="net48" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user