Info
Version: | 1.1.5 |
Author(s): | mrb0nj and contributors |
Last Update: | Tuesday, February 9, 2021 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/Slack.Webhooks |
Install
Install-Package Slack.Webhooks
dotnet add package Slack.Webhooks
paket add Slack.Webhooks
Slack.Webhooks Download (Unzip the "nupkg" after downloading)
Dependencies
.NETFramework 4.5
- Newtonsoft.Json(>= 10.0.3)
- NETStandard.Library(>= 1.6.1)
- Newtonsoft.Json(>= 10.0.3)
Tags
### IMPORTANT
On Feb 19th 2020 Slack will end support for TLS version 1.0 and 1.1.
This means you may (depending on your .NET version) need to force the use of TLS1.2.
If you receive an error stating that "The underlying connection was closed:" it's quite possibly a TLS issue. You can work around this by setting the default TLS version using the following:
```csharp
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
```.