I have a Windows Desktop App(written in c#) that knows all Windows session information about all sessions and I have Windows Store App(written in c#) that needs to know itself Windows session information. How can i do that?
Asked
Active
Viewed 85 times
0
-
possible duplicate of [Windows Store Application Session](http://stackoverflow.com/questions/16121039/windows-store-application-session) – Nate Diamond Apr 01 '14 at 21:16
-
Writing "session information" I'm talking about "Windows session information", not "Windows Store App session" – Nicola Barbareschi Apr 01 '14 at 22:13
-
You may want to clear that up then. You said "needs to know itself session information". – Nate Diamond Apr 01 '14 at 22:23
-
OK! Sorry for my bad english... is it correct now? – Nicola Barbareschi Apr 01 '14 at 22:31
-
So, Windows Store apps don't get much access to system information. You'll have to describe what system information you are looking for for us to help you. In general though, no you can't do that. – Nate Diamond Apr 01 '14 at 23:55
-
Yes! but my Windows App Desktop(or WCF Localhost) know all information that i want (ex. ip client or session id..) i must associate Windows App Store with one of my session. – Nicola Barbareschi Apr 02 '14 at 01:26
-
The Windows Store app can communicate with WCF, you can create a file which both of them share, or you can use one as a server and the other as a client. – Nate Diamond Apr 02 '14 at 01:27
-
OK, but my WCF know all session information but it don't know which specific session the Store App is located. (is possible get Login Time ?... or for example Environment.TickCount is different in the several sessions in Windows Server 2012?) ..Sorry for my bad english.. – Nicola Barbareschi Apr 02 '14 at 02:06