Home > Blockchain >  How to retrieve game console playing time using. Net c#
How to retrieve game console playing time using. Net c#

Time:06-06

I want to build an application that counts playing time for consoles such as Ps4,5 and Xboxes. I need to connect somehow the console to .net to retrieve playing time. Any ideas?

CodePudding user response:

  1. write simple HttpListener and send requests from console to it when game starting.
  2. monitor web page of your x-box or playstation account for game activity with html page parsing, and write game activity to your local storage

CodePudding user response:

Perhaps getting profile information from the source, rather than the console, would work for you.

I googled "Microsoft xbox c#" and found that Microsoft has some documentation for Xbox live services here.

I googled "Microsoft psn c#" and found that Microsoft also has some documentation for PSN here.

  • Related