mirror of
https://github.com/recroom2016/OpenRec.git
synced 2026-04-22 13:25:51 +00:00
openrec 0.6.9
This commit is contained in:
@@ -11,10 +11,12 @@ namespace api
|
||||
{
|
||||
public static void ProfileSteal(string data)
|
||||
{
|
||||
List<Root> profile = JsonConvert.DeserializeObject<List<Root>>(data);
|
||||
File.WriteAllText("SaveData\\Profile\\username.txt", profile[0].username);
|
||||
byte[] profileimage = new WebClient().DownloadData("https://img.rec.net/" + profile[0].profileImage + "?cropSquare=true&width=192&height=192");
|
||||
File.WriteAllBytes("SaveData\\profileimage.png", profileimage);
|
||||
List<Root> profile = JsonConvert.DeserializeObject<List<Root>>(data);
|
||||
File.WriteAllText("SaveData\\Profile\\username.txt", profile[0].username);
|
||||
byte[] profileimage = new WebClient().DownloadData("https://img.rec.net/" + profile[0].profileImage + "?cropSquare=true&width=192&height=192");
|
||||
File.WriteAllBytes("SaveData\\profileimage.png", profileimage);
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class Root
|
||||
|
||||
Reference in New Issue
Block a user