Advertisement
Guest User

Untitled

a guest
Apr 25th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. namespace Steap
  2. {
  3. public class SteapAPI
  4. {
  5. public static String URL
  6. {
  7. get;
  8. set;
  9. }
  10.  
  11. public static XmlReader r = XmlReader.Create("");
  12.  
  13. public int getSteamID64()
  14. {
  15. int ID = 0;
  16. r.ReadToFollowing("steamID64");
  17. ID = r.ReadContentAsInt();
  18. return ID;
  19. }
  20.  
  21. public string getSteamID()
  22. {
  23. string ID = String.Empty;
  24. r.ReadToFollowing("steamID");
  25. ID = r.ReadContentAsString();
  26. return ID;
  27. }
  28.  
  29. public string getName()
  30. {
  31. return getSteamID();
  32. }
  33.  
  34. }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement