Skip to content

Commit

Permalink
v4.0.0
Browse files Browse the repository at this point in the history
- Updated SendSafely API to target net8.0
- Added README
  • Loading branch information
SendSafely-GitHub committed Jan 27, 2025
1 parent 310564d commit 0e98079
Show file tree
Hide file tree
Showing 11 changed files with 73 additions and 315 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
36 changes: 0 additions & 36 deletions SampleConsoleApplication/Properties/AssemblyInfo.cs

This file was deleted.

47 changes: 15 additions & 32 deletions SampleConsoleApplication/SendSafelyConsoleApplication.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<AssemblyTitle>SendSafelyConsoleApplication</AssemblyTitle>
<Product>SendSafelyConsoleApplication</Product>
<Copyright>Copyright © 2024</Copyright>
<AssemblyVersion>1.0.1</AssemblyVersion>
<FileVersion>1.0.1</FileVersion>
<Platforms>x86</Platforms>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
Expand All @@ -10,7 +18,6 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SendSafelyConsoleApplication</RootNamespace>
<AssemblyName>SendSafelyConsoleApplication</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
Expand All @@ -36,38 +43,14 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
<HintPath>..\packages\BouncyCastle.Cryptography.2.4.0\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="SendsafelyAPI, Version=3.0.9.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\SendsafelyAPI\packages\SendsafelyAPI.dll</HintPath>
<Reference Include="SendsafelyAPI, Version=4.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\SendsafelyAPI\packages\SendsafelyAPI.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ProgressCallback.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config" />
<PackageReference Include="BouncyCastle.Cryptography" Version="2.5.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
12 changes: 0 additions & 12 deletions SampleConsoleApplication/app.config

This file was deleted.

5 changes: 0 additions & 5 deletions SampleConsoleApplication/packages.config

This file was deleted.

6 changes: 3 additions & 3 deletions SendsafelyAPI.sln
Original file line number Diff line number Diff line change
@@ -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
Expand Down
36 changes: 0 additions & 36 deletions SendsafelyAPI/Properties/AssemblyInfo.cs

This file was deleted.

Loading

0 comments on commit 0e98079

Please sign in to comment.