hotfix switch User-Agent

hotfix switch User-Agent #959
added 'MetroFramework.dll' and 'MyProvider.dll'
This commit is contained in:
hama3254 2024-05-22 18:43:13 +02:00
parent c9e85c5f30
commit 5c5925ba35
8 changed files with 21 additions and 32 deletions

Binary file not shown.

View File

@ -106,7 +106,7 @@
<ItemGroup> <ItemGroup>
<Reference Include="MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a, processorArchitecture=AMD64"> <Reference Include="MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a, processorArchitecture=AMD64">
<SpecificVersion>False</SpecificVersion> <SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\metroframework-modern-ui\MetroFramework\bin\x64\Debug\MetroFramework.dll</HintPath> <HintPath>Resources\CRD_metroframework_x64\MetroFramework.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.Web.WebView2.Core, Version=1.0.1418.22, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL"> <Reference Include="Microsoft.Web.WebView2.Core, Version=1.0.1418.22, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Web.WebView2.1.0.1418.22\lib\net45\Microsoft.Web.WebView2.Core.dll</HintPath> <HintPath>..\packages\Microsoft.Web.WebView2.1.0.1418.22\lib\net45\Microsoft.Web.WebView2.Core.dll</HintPath>
@ -117,8 +117,9 @@
<Reference Include="Microsoft.Web.WebView2.Wpf, Version=1.0.1418.22, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL"> <Reference Include="Microsoft.Web.WebView2.Wpf, Version=1.0.1418.22, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Web.WebView2.1.0.1418.22\lib\net45\Microsoft.Web.WebView2.Wpf.dll</HintPath> <HintPath>..\packages\Microsoft.Web.WebView2.1.0.1418.22\lib\net45\Microsoft.Web.WebView2.Wpf.dll</HintPath>
</Reference> </Reference>
<Reference Include="MyProvider"> <Reference Include="MyProvider, Version=1.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\..\..\MyProvider\MyProvider\bin\x64\Debug\MyProvider.dll</HintPath> <SpecificVersion>False</SpecificVersion>
<HintPath>Resources\CRD_SettingsProvider_x64\MyProvider.dll</HintPath>
</Reference> </Reference>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
@ -154,28 +155,20 @@
<Compile Include="LoginForm.Designer.vb"> <Compile Include="LoginForm.Designer.vb">
<DependentUpon>LoginForm.vb</DependentUpon> <DependentUpon>LoginForm.vb</DependentUpon>
</Compile> </Compile>
<Compile Include="LoginForm.vb"> <Compile Include="LoginForm.vb" />
<SubType>Form</SubType>
</Compile>
<Compile Include="ffmpeg_option.Designer.vb"> <Compile Include="ffmpeg_option.Designer.vb">
<DependentUpon>ffmpeg_option.vb</DependentUpon> <DependentUpon>ffmpeg_option.vb</DependentUpon>
</Compile> </Compile>
<Compile Include="ffmpeg_option.vb"> <Compile Include="ffmpeg_option.vb" />
<SubType>Form</SubType>
</Compile>
<Compile Include="CheckBoxComboBox.Designer.vb"> <Compile Include="CheckBoxComboBox.Designer.vb">
<DependentUpon>CheckBoxComboBox.vb</DependentUpon> <DependentUpon>CheckBoxComboBox.vb</DependentUpon>
</Compile> </Compile>
<Compile Include="CheckBoxComboBox.vb"> <Compile Include="CheckBoxComboBox.vb" />
<SubType>Form</SubType>
</Compile>
<Compile Include="GetData.vb" /> <Compile Include="GetData.vb" />
<Compile Include="queue.Designer.vb"> <Compile Include="queue.Designer.vb">
<DependentUpon>queue.vb</DependentUpon> <DependentUpon>queue.vb</DependentUpon>
</Compile> </Compile>
<Compile Include="queue.vb"> <Compile Include="queue.vb" />
<SubType>Form</SubType>
</Compile>
<Compile Include="Settings.vb" /> <Compile Include="Settings.vb" />
<Compile Include="Trackbar.Designer.vb"> <Compile Include="Trackbar.Designer.vb">
<DependentUpon>Trackbar.vb</DependentUpon> <DependentUpon>Trackbar.vb</DependentUpon>
@ -192,15 +185,11 @@
<Compile Include="Anime_Add.Designer.vb"> <Compile Include="Anime_Add.Designer.vb">
<DependentUpon>Anime_Add.vb</DependentUpon> <DependentUpon>Anime_Add.vb</DependentUpon>
</Compile> </Compile>
<Compile Include="Anime_Add.vb"> <Compile Include="Anime_Add.vb" />
<SubType>Form</SubType>
</Compile>
<Compile Include="einstellungen.Designer.vb"> <Compile Include="einstellungen.Designer.vb">
<DependentUpon>einstellungen.vb</DependentUpon> <DependentUpon>einstellungen.vb</DependentUpon>
</Compile> </Compile>
<Compile Include="einstellungen.vb"> <Compile Include="einstellungen.vb" />
<SubType>Form</SubType>
</Compile>
<Compile Include="Browser.Designer.vb"> <Compile Include="Browser.Designer.vb">
<DependentUpon>Browser.vb</DependentUpon> <DependentUpon>Browser.vb</DependentUpon>
</Compile> </Compile>
@ -211,15 +200,11 @@
<Compile Include="ErrorDialog.Designer.vb"> <Compile Include="ErrorDialog.Designer.vb">
<DependentUpon>ErrorDialog.vb</DependentUpon> <DependentUpon>ErrorDialog.vb</DependentUpon>
</Compile> </Compile>
<Compile Include="ErrorDialog.vb"> <Compile Include="ErrorDialog.vb" />
<SubType>Form</SubType>
</Compile>
<Compile Include="Main.designer.vb"> <Compile Include="Main.designer.vb">
<DependentUpon>Main.vb</DependentUpon> <DependentUpon>Main.vb</DependentUpon>
</Compile> </Compile>
<Compile Include="Main.vb"> <Compile Include="Main.vb" />
<SubType>Form</SubType>
</Compile>
<Compile Include="My Project\AssemblyInfo.vb" /> <Compile Include="My Project\AssemblyInfo.vb" />
<Compile Include="My Project\Application.Designer.vb"> <Compile Include="My Project\Application.Designer.vb">
<AutoGen>True</AutoGen> <AutoGen>True</AutoGen>
@ -234,9 +219,7 @@
<Compile Include="CRD_List_Item.Designer.vb"> <Compile Include="CRD_List_Item.Designer.vb">
<DependentUpon>CRD_List_Item.vb</DependentUpon> <DependentUpon>CRD_List_Item.vb</DependentUpon>
</Compile> </Compile>
<Compile Include="CRD_List_Item.vb"> <Compile Include="CRD_List_Item.vb" />
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Subfolder.vb" /> <Compile Include="Subfolder.vb" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -1165,8 +1165,9 @@ Public Class Main
Dim NewAPI As String = "https://cr-play-service.prd.crunchyrollsvc.com/v1/" + page_guid + "/console/switch/play" Dim NewAPI As String = "https://cr-play-service.prd.crunchyrollsvc.com/v1/" + page_guid + "/console/switch/play"
Debug.WriteLine("NewAPI: " + NewAPI) Debug.WriteLine("NewAPI: " + NewAPI)
'MsgBox(Loc_AuthToken)
Dim NewAPIData As String = CurlAuthNew(NewAPI, "", Loc_AuthToken) Dim UserAgent As String = " -H " + Chr(34) + "User-Agent: Crunchyroll/1.8.0 Nintendo Switch/12.3.12.0 UE4/4.27" + Chr(34)
Dim NewAPIData As String = CurlAuthNew(NewAPI, "", UserAgent + Loc_AuthToken)
'Debug.WriteLine("NewAPIData: " + NewAPIData) 'Debug.WriteLine("NewAPIData: " + NewAPIData)

View File

@ -0,0 +1,5 @@
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,11
[InternetShortcut]
IDList=
URL=https://www.vb-paradise.de/index.php/Thread/101710-UserSettingsProvider-Persistieren-von-UserSettings/?pageNo=1&s=21f5b5753290312d4aa7fe7e470f638c5fe2e4aa