How to save a session as windows?

I want to save a session in a windows application.

How to save a user session, as we use in ASP.NET, to track user information?

+3
source share
2 answers

If you mean how you can serialize the program parameters that the user has performed using your application, and you want to restore them after the program is restarted, an easy way is to use the built -in control settings . This works with WinForms and WPF:

VS , ( ), Properties.Settings.Default -Property. , : . , "session" -state , User.

Windows- .net.

+4

asp.net, . Windows , -.

.

+5

Source: https://habr.com/ru/post/1758507/


All Articles