Replies: 7 comments 2 replies
-
What format of SteamID are you trying to land up with? They can be represented in many ways. Check out the |
Beta Was this translation helpful? Give feedback.
-
I dont understand, can you explain me? |
Beta Was this translation helpful? Give feedback.
-
LoggedOnCallback is an event to be subscribed to. You can have a function that gets called when the event fires. You can find an example of how to use it here. There are other useful examples here. Good luck |
Beta Was this translation helpful? Give feedback.
-
Oh now i understand the event. But i only need get a SteamID64 and username not the credentials... i think is more simple but i can't find the way... |
Beta Was this translation helpful? Give feedback.
-
If you're trying to get the steamid from the username, then that's not possible (reference). You'll need to log in as the user whose steamid you want. Once they're logged in, the LoggedOnCallback gets fired, and in that function you can get the steamid (reference). You can also get the friends of the user and their shown names and steamids after logging in. |
Beta Was this translation helpful? Give feedback.
-
I think you dont understand me, im trying to get username and SteamID64 from client. For example, steam saves this on C:\Program Files (x86)\Steam\config\loginusers.vdf But i only want parse the steamid64 from there... Thanks for your replies |
Beta Was this translation helpful? Give feedback.
-
Oh, I don't know if SteamKit is capable of doing that. From my understanding SteamKit "emulates" the steam client. I don't think it has a way of reading the actual steam client's loginusers.vdf file. I could be mistaken, hopefully someone else here can help answer that. |
Beta Was this translation helpful? Give feedback.
-
Hello, i know the following questions is stupid for experimented programmers but i'm newbie in this...
I'm trying to get the SteamID like this:
string SteamID = SteamUser.LoggedOnCallback.ClientSteamID.AccountID;
what i'm doing wrong? Im using WinForms because i need collect information about steam for display in a form...
I appreciate all replys with constructive intentions!
Thanks for this tool guys :)
Beta Was this translation helpful? Give feedback.
All reactions