You are viewing our Forum Archives. To view or take place in current topics click here.
#11. Posted:
Status: Offline
Joined: Jan 14, 201014Year Member
Posts: 37
Reputation Power: 1
Status: Offline
Joined: Jan 14, 201014Year Member
Posts: 37
Reputation Power: 1
-Zachman61- wroteExperiment5X wrote-eLeVaTiiONz- wrote I had this problem too..
I asked 'expericed' coders.. they said 'get the hex, 'Its in a GPD File' etc..
Here is the code.
Note: You need xPackage Refence
Code:
Dim xPackage As New STFSPackage(FilePath, Nothing)
If Not xPackage.ParseSuccess Then
Return
End If
Dim Read As New ProfilePackage(xPackage)
TextBoxX1.Text = Read.UserFile.GetGamertag()
Read.CloseIO()
Hope this helps.
That's not getting it from the Profile ID, that's reading it from the Account file.
So that doesn't get the gamertag?
Yes it gets the Gamertag, but does not show you how to get the ProfileID.
As for getting the ProfileID from the Gamertag that can be done as CLK showed, but in Horizon I think they store everyones ProfileID => Gamertag so when you open a Profile up it knows whos who.
- 1useful
- 0not useful
#12. Posted:
Status: Offline
Joined: Jun 12, 201014Year Member
Posts: 531
Reputation Power: 33
-Zachman61- wroteExperiment5X wrote-eLeVaTiiONz- wrote I had this problem too..
I asked 'expericed' coders.. they said 'get the hex, 'Its in a GPD File' etc..
Here is the code.
Note: You need xPackage Refence
Code:
Dim xPackage As New STFSPackage(FilePath, Nothing)
If Not xPackage.ParseSuccess Then
Return
End If
Dim Read As New ProfilePackage(xPackage)
TextBoxX1.Text = Read.UserFile.GetGamertag()
Read.CloseIO()
Hope this helps.
That's not getting it from the Profile ID, that's reading it from the Account file.
So that doesn't get the gamertag?
It gets the gamertag by opening the Account file from the package in a memory stream, decrypting it, then reading the gamertag.
- 1useful
- 0not useful
#13. Posted:
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
-CLK- wroteOk thats what i wanted it to do-Zachman61- wroteExperiment5X wrote-eLeVaTiiONz- wrote I had this problem too..
I asked 'expericed' coders.. they said 'get the hex, 'Its in a GPD File' etc..
Here is the code.
Note: You need xPackage Refence
Code:
Dim xPackage As New STFSPackage(FilePath, Nothing)
If Not xPackage.ParseSuccess Then
Return
End If
Dim Read As New ProfilePackage(xPackage)
TextBoxX1.Text = Read.UserFile.GetGamertag()
Read.CloseIO()
Hope this helps.
That's not getting it from the Profile ID, that's reading it from the Account file.
So that doesn't get the gamertag?
It gets the gamertag by opening the Account file from the package in a memory stream, decrypting it, then reading the gamertag.
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.