mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
Never expire cookies
This commit is contained in:
@@ -9,6 +9,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Cookie = System.Net.Cookie;
|
||||
|
||||
namespace VRCX
|
||||
{
|
||||
@@ -92,6 +93,10 @@ namespace VRCX
|
||||
{
|
||||
return;
|
||||
}
|
||||
foreach (Cookie cookie in _cookieContainer.GetAllCookies())
|
||||
{
|
||||
cookie.Expires = DateTime.MaxValue;
|
||||
}
|
||||
try
|
||||
{
|
||||
using (var memoryStream = new MemoryStream())
|
||||
|
||||
Reference in New Issue
Block a user