web-push-csharp
web-push-csharp copied to clipboard
Current Edge (Not Chromium Edge) not working
I tried the sample code for the edge endpoint (with the link https://sg2p.notify.windows.com/w/?token=...), but the error (Unexpected error) occurred. So, I add the below code, and it can be run without crashing.
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
But I never get the notification, while for the same info (endpoint, key) works on web-push-php.
Btw, the same version on the NuGet, VapidDetails doesn't have the Expiration. Would that cause the problem ?