Maybe this topic isn't allowed (maybe because of the illegal or "too broad" aspect of this topic), I would try to be very concise with this because I would like to implement this with the main objective of learning "tampering/hooking" techniques.
Anyway, the question is that some time ago, I found an application that inserted two entries into the %WinDir%/etc/hosts
file to cancel the advertising from Spotify.
This glitch was fixed by Spotify recently, so now any new song that has to be played is not going to be heard unless the ads are played before.
Well, the thing is that not long ago I found this repository (Spotify1710), I look at it, since I do not understand C++ a lot and well, I tried to make it works and I saw that it did not work (Spotify crashed) so I started doing the same but in C#. (Maybe I should try an older version of Spotify?, since there are several releases...)
As I have seen how this utility works, what it does is to inject a (managed)