diff --git a/README.md b/README.md new file mode 100644 index 0000000..90e991d --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# .NET Client API +The SendSafely .NET Client API allows programmatic access to SendSafely for sending and receiving files. For additional documentation, refer to our [Client API Overview documentation](https://sendsafely.zendesk.com/hc/en-us/articles/360042043752-Client-API-Overview). + +Refer to the SendSafely [Windows-Client-API/SampleApplication](https://github.com/SendSafely/Windows-Client-API/tree/master/SampleConsoleApplication) for a quick start with using the .NET Client API. When building the project, make sure the dependencies include the latest SendSafely API DLL from the [Releases Page] (https://github.com/SendSafely/Windows-Client-API/releases). + +The SendSafely API uses the [.NET 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) which is supported by Visual Studio version 17.8 and greater. \ No newline at end of file diff --git a/SampleConsoleApplication/Properties/AssemblyInfo.cs b/SampleConsoleApplication/Properties/AssemblyInfo.cs deleted file mode 100644 index 9a37272..0000000 --- a/SampleConsoleApplication/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("SendSafelyConsoleApplication")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("SendSafelyConsoleApplication")] -[assembly: AssemblyCopyright("Copyright © 2024")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("16f91b4c-8f59-4eb5-aa32-52a20c286933")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// 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.0.1")] -[assembly: AssemblyFileVersion("1.0.1")] diff --git a/SampleConsoleApplication/SendSafelyConsoleApplication.csproj b/SampleConsoleApplication/SendSafelyConsoleApplication.csproj index e68d2ba..a6b4ddc 100644 --- a/SampleConsoleApplication/SendSafelyConsoleApplication.csproj +++ b/SampleConsoleApplication/SendSafelyConsoleApplication.csproj @@ -1,5 +1,13 @@ - - + + + net8.0 + SendSafelyConsoleApplication + SendSafelyConsoleApplication + Copyright © 2024 + 1.0.1 + 1.0.1 + x86 + Debug x86 @@ -10,7 +18,6 @@ Properties SendSafelyConsoleApplication SendSafelyConsoleApplication - v4.6.2 512 @@ -36,38 +43,14 @@ false - - ..\packages\BouncyCastle.Cryptography.2.4.0\lib\net461\BouncyCastle.Cryptography.dll - - - packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll - - - ..\SendsafelyAPI\packages\SendsafelyAPI.dll + False + ..\SendsafelyAPI\packages\SendsafelyAPI.dll - - - - - - - - - - - - - + + + - - \ No newline at end of file diff --git a/SampleConsoleApplication/app.config b/SampleConsoleApplication/app.config deleted file mode 100644 index cbcb188..0000000 --- a/SampleConsoleApplication/app.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/SampleConsoleApplication/packages.config b/SampleConsoleApplication/packages.config deleted file mode 100644 index b7d2628..0000000 --- a/SampleConsoleApplication/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/SendsafelyAPI.sln b/SendsafelyAPI.sln index daa15f6..be20d90 100644 --- a/SendsafelyAPI.sln +++ b/SendsafelyAPI.sln @@ -1,8 +1,8 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27130.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35327.3 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SendsafelyAPI", "SendsafelyAPI\SendsafelyAPI.csproj", "{9BDEB9EC-7B8C-44DD-A3A1-9EF4F2B2499E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SendsafelyAPI", "SendsafelyAPI\SendsafelyAPI.csproj", "{9BDEB9EC-7B8C-44DD-A3A1-9EF4F2B2499E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/SendsafelyAPI/Properties/AssemblyInfo.cs b/SendsafelyAPI/Properties/AssemblyInfo.cs deleted file mode 100644 index a633b64..0000000 --- a/SendsafelyAPI/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("SendSafely Windows Client API")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("SendSafely Windows Client API")] -[assembly: AssemblyCopyright("Copyright © 2024")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("53a92566-ce0c-4659-80b8-5592df515856")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// 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("3.0.11")] -[assembly: AssemblyFileVersion("3.0.11")] \ No newline at end of file diff --git a/SendsafelyAPI/SendsafelyAPI.csproj b/SendsafelyAPI/SendsafelyAPI.csproj index 8513849..bf63ca5 100644 --- a/SendsafelyAPI/SendsafelyAPI.csproj +++ b/SendsafelyAPI/SendsafelyAPI.csproj @@ -1,203 +1,66 @@ - - + - Debug - AnyCPU - 8.0.30703 - 2.0 - {9BDEB9EC-7B8C-44DD-A3A1-9EF4F2B2499E} - Library - bin\Latest\ - Properties - SendSafely - SendsafelyAPI - v4.6.2 - 512 - + net8.0 + SendSafely Windows Client API + SendSafely Windows Client API + Copyright © 2024 + 4.0.0 + 4.0.0 + AnyCPU + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {9BDEB9EC-7B8C-44DD-A3A1-9EF4F2B2499E} + Library + bin\Latest\ + Properties + SendSafely + SendsafelyAPI + 512 + + LICENSE.txt + 4.0.0 - true - full - false - bin\Debug\ - v4.6.2 - DEBUG;TRACE - prompt - 4 - bin\Debug\SendsafelyAPI.XML - false + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + bin\Debug\SendsafelyAPI.XML + false - pdbonly - true - bin\Release\ - v4.6.2 - TRACE - prompt - 4 - bin\Release\SendsafelyAPI.XML - false + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + bin\Release\SendsafelyAPI.XML + false - - - ..\packages\BouncyCastle.Cryptography.2.4.0\lib\net461\BouncyCastle.Cryptography.dll - - - - ..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll - True - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + PreserveNewest - + + + - - + + + + \ No newline at end of file diff --git a/SendsafelyAPI/ThirdParty/BouncyCastle.Crypto.dll b/SendsafelyAPI/ThirdParty/BouncyCastle.Crypto.dll deleted file mode 100644 index 0f324ca..0000000 Binary files a/SendsafelyAPI/ThirdParty/BouncyCastle.Crypto.dll and /dev/null differ diff --git a/SendsafelyAPI/ThirdParty/Newtonsoft.Json.dll b/SendsafelyAPI/ThirdParty/Newtonsoft.Json.dll deleted file mode 100644 index 93875d5..0000000 Binary files a/SendsafelyAPI/ThirdParty/Newtonsoft.Json.dll and /dev/null differ diff --git a/SendsafelyAPI/packages.config b/SendsafelyAPI/packages.config deleted file mode 100644 index b7d2628..0000000 --- a/SendsafelyAPI/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file