Why isnt webclient reading pastebin?
I made a post 2 days ago but the guy didnt help me so I am trying again. Why is not this working?
14 Replies
it always says there is an update when there is not
1.
WebClient
is deprecated, use HttpClient
2. See if using the link to the raw paste works, instead of the link to the whole-ass pageI have no knowledge on how to use httpClient sooooooo idk about that
Knowledge is a thing that can be gained
It's cool like that
yea no shit
and there isnt any good tutorials anyway
HttpClient Class (System.Net.Http)
Provides a class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI.
whats the difference between the two?
HttpClient
is properly asynchronous, for oneraw didnt solve the issue either, will using http client solve the issue? or I need to do something different
Not sure, it might
Also, forgot to ask: what do you mean by "doesn't work" in the first place?
always says it has an update but the raw on pastebin is 0.0.1
Ah, right
Well
You have
!
there
And the file does not contain 0.0.2
So... it's trueoh I forgot to delete ! because I tried making it when it detects that the version is not the current one then it updates
also Is there a way to make everything update for example if I would add dlls it would not update it only updates the exe
Not sure, never had to build any sort of an updater