diff --git a/STMPServer/.vs/STMPServer/DesignTimeBuild/.dtbcache.v2 b/STMPServer/.vs/STMPServer/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000000000000000000000000000000000000..b3d4398daa218408c3b66d3a5427d95e536d103a Binary files /dev/null and b/STMPServer/.vs/STMPServer/DesignTimeBuild/.dtbcache.v2 differ diff --git a/STMPServer/.vs/STMPServer/v16/.suo b/STMPServer/.vs/STMPServer/v16/.suo new file mode 100644 index 0000000000000000000000000000000000000000..b13e2c5990018f47e07d8759397018f2098750b2 Binary files /dev/null and b/STMPServer/.vs/STMPServer/v16/.suo differ diff --git a/STMPServer/STMPServer.sln b/STMPServer/STMPServer.sln new file mode 100644 index 0000000000000000000000000000000000000000..29a2b9bba6f68592e12d6114f8a55e5907c99fc2 --- /dev/null +++ b/STMPServer/STMPServer.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31205.134 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "STMPServer", "STMPServer\STMPServer.csproj", "{805BB2D5-8AB1-4C71-A554-7DE78B177C43}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {805BB2D5-8AB1-4C71-A554-7DE78B177C43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {805BB2D5-8AB1-4C71-A554-7DE78B177C43}.Debug|Any CPU.Build.0 = Debug|Any CPU + {805BB2D5-8AB1-4C71-A554-7DE78B177C43}.Release|Any CPU.ActiveCfg = Release|Any CPU + {805BB2D5-8AB1-4C71-A554-7DE78B177C43}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D4E7161E-2448-4CF9-B3E1-FC167ED14DBA} + EndGlobalSection +EndGlobal diff --git a/STMPServer/STMPServer/Program.cs b/STMPServer/STMPServer/Program.cs new file mode 100644 index 0000000000000000000000000000000000000000..0e7f9f46b1977c14ef188ff4fbca974b9b560fb9 --- /dev/null +++ b/STMPServer/STMPServer/Program.cs @@ -0,0 +1,122 @@ +using System; +using System.Net; +using System.Net.Sockets; +using System.Text; + +namespace STMPServer +{ + class Program + { + static void Main(string[] args) + { + int port = 25000; + Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); + IPEndPoint iep = new IPEndPoint(IPAddress.Loopback, port); + socket.Bind(iep); + // Kuinka monta asiakasta saa olla + socket.Listen(1); + bool while_on = true; + Console.WriteLine("SMTP Palvelin käynnissä portissa: " + port); + while(while_on) + { + Socket asiakas = socket.Accept(); + string ip = ((IPEndPoint)(asiakas.RemoteEndPoint)).Address.ToString(); + string asiakas_port = ((IPEndPoint)(asiakas.RemoteEndPoint)).Port.ToString(); + Console.WriteLine("Uusi asiakas: {0} portista: {1}", ip, asiakas_port); + // Aloitetaan keskustelu + asiakas.Send(Encoding.UTF8.GetBytes("220 TIES323 Postipalvelin\r\n")); + bool keskustelu = true; + bool data_vipu = false; + while(keskustelu) + { + byte[] buffer = new byte[2048]; + asiakas.Receive(buffer); + string asiakas_vastaus = Encoding.UTF8.GetString(buffer); + Console.WriteLine("[{0}:{1}]: {2}",ip,asiakas_port,asiakas_vastaus); + string[] lines = asiakas_vastaus.Split( + new[] { "\r\n", "\r", "\n" }, + StringSplitOptions.None + ); + + int tila = 0; + if(data_vipu) + { + tila = ValidoiData(lines, asiakas); + } else + { + tila = ValidoiVastaus(lines[0], asiakas, data_vipu); + } + switch (tila) + { + case 1: + data_vipu = true; + break; + case 2: + asiakas.Close(); + keskustelu = false; + break; + default: + data_vipu = false; + break; + } + } + } + Console.ReadKey(); + socket.Close(); + } + + static int ValidoiVastaus(string vastaus, Socket socket, bool data_vipu) + { + int tila = 0; + string msg = "500 Syntax error!"; + + if(vastaus.Split(' ')[0] == "HELO") + { + string ip = ((IPEndPoint)(socket.RemoteEndPoint)).Address.ToString(); + msg = "250 TIES323 Postipalvelin HELO " + ip; + } + else if (vastaus.Split(':')[0] == "MAIL FROM") + { + msg = "250 2.1.0 Sender... " + vastaus.Split(':')[1].Trim() + " you are ok."; + } + else if (vastaus.Split(':')[0] == "RCPT TO") + { + msg = "250 2.1.5 Recipient... " + vastaus.Split(':')[1].Trim() + " is ok!"; + } + else if (vastaus == "DATA") + { + msg = "354 Enter mail, end with \".\" n a line by itself"; + tila = 1; + } + else if (vastaus == "QUIT") + { + msg = "221 2.0.0 TIES323 postipalvelin sulkee yhteyden..."; + tila = 2; + } + + VastaaAsiakas(msg, socket); + return tila; + } + + static int ValidoiData(string[] arr, Socket socket) + { + string[] data; + for(int i = 0; i < arr.Length - 1; i++) + { + if(arr[i] == ".") + { + string msg = "250 2.0.0 Message displayed on Server Screen."; + VastaaAsiakas(msg, socket); + return 0; + } + } + return 1; + } + + static void VastaaAsiakas(string msg, Socket asiakas) + { + byte[] respond = Encoding.UTF8.GetBytes(msg + "\r\n"); + asiakas.Send(respond); + } + } +} diff --git a/STMPServer/STMPServer/STMPServer.csproj b/STMPServer/STMPServer/STMPServer.csproj new file mode 100644 index 0000000000000000000000000000000000000000..c73e0d1692ab38cc8596bbd32ae080d903aaa778 --- /dev/null +++ b/STMPServer/STMPServer/STMPServer.csproj @@ -0,0 +1,8 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <OutputType>Exe</OutputType> + <TargetFramework>netcoreapp3.1</TargetFramework> + </PropertyGroup> + +</Project> diff --git a/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.deps.json b/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.deps.json new file mode 100644 index 0000000000000000000000000000000000000000..9ab91c28a3fc84f00d45b1e502f882c90137f34e --- /dev/null +++ b/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v3.1", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v3.1": { + "STMPServer/1.0.0": { + "runtime": { + "STMPServer.dll": {} + } + } + } + }, + "libraries": { + "STMPServer/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.dll b/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.dll new file mode 100644 index 0000000000000000000000000000000000000000..67c554813fd6261cd458b36d1f56e9732f11808b Binary files /dev/null and b/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.dll differ diff --git a/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.exe b/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.exe new file mode 100644 index 0000000000000000000000000000000000000000..4d06977360381409d43e720512f57a87485adaff Binary files /dev/null and b/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.exe differ diff --git a/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.pdb b/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.pdb new file mode 100644 index 0000000000000000000000000000000000000000..5d51eaa7cd0769c9b8a3aa41644209d34fd38377 Binary files /dev/null and b/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.pdb differ diff --git a/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.runtimeconfig.dev.json b/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.runtimeconfig.dev.json new file mode 100644 index 0000000000000000000000000000000000000000..9c9aff74d0f5c5b745a7d98df0d03319b4b012c4 --- /dev/null +++ b/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.runtimeconfig.dev.json @@ -0,0 +1,8 @@ +{ + "runtimeOptions": { + "additionalProbingPaths": [ + "C:\\Users\\Joppe\\.dotnet\\store\\|arch|\\|tfm|", + "C:\\Users\\Joppe\\.nuget\\packages" + ] + } +} \ No newline at end of file diff --git a/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.runtimeconfig.json b/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.runtimeconfig.json new file mode 100644 index 0000000000000000000000000000000000000000..bc456d7868bb54ec1809da30e339cd43f0a8a09c --- /dev/null +++ b/STMPServer/STMPServer/bin/Debug/netcoreapp3.1/STMPServer.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "netcoreapp3.1", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "3.1.0" + } + } +} \ No newline at end of file diff --git a/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs new file mode 100644 index 0000000000000000000000000000000000000000..ad8dfe1a6310302587a2d0c0111d81b250eb4105 --- /dev/null +++ b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// <autogenerated /> +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")] diff --git a/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.AssemblyInfo.cs b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.AssemblyInfo.cs new file mode 100644 index 0000000000000000000000000000000000000000..5b73f1f3d5d3f06dc14339480a1d8297d3a2a391 --- /dev/null +++ b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("STMPServer")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("STMPServer")] +[assembly: System.Reflection.AssemblyTitleAttribute("STMPServer")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.AssemblyInfoInputs.cache b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.AssemblyInfoInputs.cache new file mode 100644 index 0000000000000000000000000000000000000000..55c8c21fc7a9803b2ac3a34efc56b9aa8cfaf46b --- /dev/null +++ b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +288f5e67a3f23e091d34108d491ff5e0fbb95d09 diff --git a/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.assets.cache b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.assets.cache new file mode 100644 index 0000000000000000000000000000000000000000..819a19a2976978f35c487c834db58f6992f1ac28 Binary files /dev/null and b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.assets.cache differ diff --git a/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.csproj.CoreCompileInputs.cache b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000000000000000000000000000000000000..0eb597ec5d669c89db0ea024342bb9e58e9daf02 --- /dev/null +++ b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +1f9858c49b57c0e519074dd288db3e15bdd662aa diff --git a/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.csproj.FileListAbsolute.txt b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.csproj.FileListAbsolute.txt new file mode 100644 index 0000000000000000000000000000000000000000..3ea90c95e3cbecdb0f45a4c1f005cac97ae02828 --- /dev/null +++ b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.csproj.FileListAbsolute.txt @@ -0,0 +1,13 @@ +E:\Kurssit\ties323\STMPServer\STMPServer\bin\Debug\netcoreapp3.1\STMPServer.exe +E:\Kurssit\ties323\STMPServer\STMPServer\bin\Debug\netcoreapp3.1\STMPServer.deps.json +E:\Kurssit\ties323\STMPServer\STMPServer\bin\Debug\netcoreapp3.1\STMPServer.runtimeconfig.json +E:\Kurssit\ties323\STMPServer\STMPServer\bin\Debug\netcoreapp3.1\STMPServer.runtimeconfig.dev.json +E:\Kurssit\ties323\STMPServer\STMPServer\bin\Debug\netcoreapp3.1\STMPServer.dll +E:\Kurssit\ties323\STMPServer\STMPServer\bin\Debug\netcoreapp3.1\STMPServer.pdb +E:\Kurssit\ties323\STMPServer\STMPServer\obj\Debug\netcoreapp3.1\STMPServer.csprojAssemblyReference.cache +E:\Kurssit\ties323\STMPServer\STMPServer\obj\Debug\netcoreapp3.1\STMPServer.AssemblyInfoInputs.cache +E:\Kurssit\ties323\STMPServer\STMPServer\obj\Debug\netcoreapp3.1\STMPServer.AssemblyInfo.cs +E:\Kurssit\ties323\STMPServer\STMPServer\obj\Debug\netcoreapp3.1\STMPServer.csproj.CoreCompileInputs.cache +E:\Kurssit\ties323\STMPServer\STMPServer\obj\Debug\netcoreapp3.1\STMPServer.dll +E:\Kurssit\ties323\STMPServer\STMPServer\obj\Debug\netcoreapp3.1\STMPServer.pdb +E:\Kurssit\ties323\STMPServer\STMPServer\obj\Debug\netcoreapp3.1\STMPServer.genruntimeconfig.cache diff --git a/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.csprojAssemblyReference.cache b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.csprojAssemblyReference.cache new file mode 100644 index 0000000000000000000000000000000000000000..e84921a470a178d6c34a6d16975b66db84b52171 Binary files /dev/null and b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.csprojAssemblyReference.cache differ diff --git a/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.dll b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.dll new file mode 100644 index 0000000000000000000000000000000000000000..67c554813fd6261cd458b36d1f56e9732f11808b Binary files /dev/null and b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.dll differ diff --git a/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.genruntimeconfig.cache b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.genruntimeconfig.cache new file mode 100644 index 0000000000000000000000000000000000000000..548aa209cb89094092d00d40f63916a6c7d5ece6 --- /dev/null +++ b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.genruntimeconfig.cache @@ -0,0 +1 @@ +a2240db99a593c701e15ec395af3a989692b6803 diff --git a/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.pdb b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.pdb new file mode 100644 index 0000000000000000000000000000000000000000..5d51eaa7cd0769c9b8a3aa41644209d34fd38377 Binary files /dev/null and b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/STMPServer.pdb differ diff --git a/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/apphost.exe b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/apphost.exe new file mode 100644 index 0000000000000000000000000000000000000000..4d06977360381409d43e720512f57a87485adaff Binary files /dev/null and b/STMPServer/STMPServer/obj/Debug/netcoreapp3.1/apphost.exe differ diff --git a/STMPServer/STMPServer/obj/STMPServer.csproj.nuget.dgspec.json b/STMPServer/STMPServer/obj/STMPServer.csproj.nuget.dgspec.json new file mode 100644 index 0000000000000000000000000000000000000000..26c43ef2b70ca024d558a636f511a9a62103b093 --- /dev/null +++ b/STMPServer/STMPServer/obj/STMPServer.csproj.nuget.dgspec.json @@ -0,0 +1,62 @@ +{ + "format": 1, + "restore": { + "E:\\Kurssit\\ties323\\STMPServer\\STMPServer\\STMPServer.csproj": {} + }, + "projects": { + "E:\\Kurssit\\ties323\\STMPServer\\STMPServer\\STMPServer.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "E:\\Kurssit\\ties323\\STMPServer\\STMPServer\\STMPServer.csproj", + "projectName": "STMPServer", + "projectPath": "E:\\Kurssit\\ties323\\STMPServer\\STMPServer\\STMPServer.csproj", + "packagesPath": "C:\\Users\\Joppe\\.nuget\\packages\\", + "outputPath": "E:\\Kurssit\\ties323\\STMPServer\\STMPServer\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\Joppe\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.1" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.202\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/STMPServer/STMPServer/obj/STMPServer.csproj.nuget.g.props b/STMPServer/STMPServer/obj/STMPServer.csproj.nuget.g.props new file mode 100644 index 0000000000000000000000000000000000000000..84f1eb192295b24b36bd8e55d6e1a138089562da --- /dev/null +++ b/STMPServer/STMPServer/obj/STMPServer.csproj.nuget.g.props @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> + <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> + <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> + <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> + <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> + <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Joppe\.nuget\packages\</NuGetPackageFolders> + <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> + <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.9.1</NuGetToolVersion> + </PropertyGroup> + <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> + <SourceRoot Include="C:\Users\Joppe\.nuget\packages\" /> + </ItemGroup> + <PropertyGroup> + <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> + </PropertyGroup> +</Project> \ No newline at end of file diff --git a/STMPServer/STMPServer/obj/STMPServer.csproj.nuget.g.targets b/STMPServer/STMPServer/obj/STMPServer.csproj.nuget.g.targets new file mode 100644 index 0000000000000000000000000000000000000000..53cfaa19b16f3769b2bfc33db3b5c0053c16fdba --- /dev/null +++ b/STMPServer/STMPServer/obj/STMPServer.csproj.nuget.g.targets @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> + </PropertyGroup> +</Project> \ No newline at end of file diff --git a/STMPServer/STMPServer/obj/project.assets.json b/STMPServer/STMPServer/obj/project.assets.json new file mode 100644 index 0000000000000000000000000000000000000000..4eee0bc91d4d38c454a8d7bda3db7bbc15fe7375 --- /dev/null +++ b/STMPServer/STMPServer/obj/project.assets.json @@ -0,0 +1,67 @@ +{ + "version": 3, + "targets": { + ".NETCoreApp,Version=v3.1": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + ".NETCoreApp,Version=v3.1": [] + }, + "packageFolders": { + "C:\\Users\\Joppe\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "E:\\Kurssit\\ties323\\STMPServer\\STMPServer\\STMPServer.csproj", + "projectName": "STMPServer", + "projectPath": "E:\\Kurssit\\ties323\\STMPServer\\STMPServer\\STMPServer.csproj", + "packagesPath": "C:\\Users\\Joppe\\.nuget\\packages\\", + "outputPath": "E:\\Kurssit\\ties323\\STMPServer\\STMPServer\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\Joppe\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.1" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.202\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/STMPServer/STMPServer/obj/project.nuget.cache b/STMPServer/STMPServer/obj/project.nuget.cache new file mode 100644 index 0000000000000000000000000000000000000000..ea3d30df30af16941bebb7d56ce8be97d4754096 --- /dev/null +++ b/STMPServer/STMPServer/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "CIwU8q2TPMKQxAYhWQ+V8ZxoPRBfqJ9xbsl5ohVXOAzomzR3eZ9pl8oTgpwuhLg6jNAyuSIgtC72KV96F1kg9Q==", + "success": true, + "projectFilePath": "E:\\Kurssit\\ties323\\STMPServer\\STMPServer\\STMPServer.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file