I need a way for my .Net Winform app to detect if my app is opened on a Laptop or a Workstation.
I have looked at Environment
and SystemInformation
but to no avail. Would WMI
do the trick?
Thanks for the direction....
As requested I have an application that uses Merge Replication to allow our users to work in Members homes. Some who use the program never go in the field and as such only have towers. This is a WORK only app so our systems are somewhat controlled. As in, no UPS on Desktops and No Laptop CPU either.
I have setup my DAL to be able to switch, based an a setting, between local SQL and the Central SQL Server. I would like to be able to set this automatically based on there system.
If a laptop then they should be pointing local if a tower, centrally.
Does this help? I deliberately left it off before to don't clutter the answers. My apologies for apologies for accomplishing the opposite.