Click here to Skip to main content
15,617,231 members
Home / Discussions / C#
   

C#

 
AnswerRe: Resolution Changes Due To Linq Statement Pin
Pete O'Hanlon3-Aug-17 23:34
subeditorPete O'Hanlon3-Aug-17 23:34 
QuestionInfo File vs. Hardlink Pin
my Nick1-Aug-17 8:01
my Nick1-Aug-17 8:01 
AnswerRe: Info File vs. Hardlink Pin
Richard Deeming1-Aug-17 9:32
mveRichard Deeming1-Aug-17 9:32 
GeneralRe: Info File vs. Hardlink Pin
my Nick1-Aug-17 21:28
my Nick1-Aug-17 21:28 
GeneralRe: Info File vs. Hardlink Pin
Jochen Arndt1-Aug-17 23:02
professionalJochen Arndt1-Aug-17 23:02 
AnswerRe: Info File vs. Hardlink Pin
Thomas Daniels1-Aug-17 23:06
mentorThomas Daniels1-Aug-17 23:06 
Questionhow to bind a wpf app to the hardware? Pin
Member 131965741-Aug-17 1:51
Member 131965741-Aug-17 1:51 
AnswerRe: how to bind a wpf app to the hardware? Pin
Afzaal Ahmad Zeeshan1-Aug-17 2:35
professionalAfzaal Ahmad Zeeshan1-Aug-17 2:35 
Quote:
how to bind a wpf app to the hardware?
You should understand the fact that a WPF application requires a .NET framework installation to work properly on the machine. Binding WPF to hardware, would require binding .NET framework to it as well.
Quote:
The application shall not be able to run on any other windows computer than the tablet that he is selling with the app.
You can modify the Windows Registry with some special keys, that only your publisher has access to and then check if they exist in the machine's registry. That would mean, that even a clean Windows install would remove any chances of using the application again — no keys, no usage.

Also, this is not just the hardware anymore, it is the operating system that controls the application. For hardware, you might want to consider tweaking with the BIOS — not recommended, and not necessary at all — and an even better way to do that would be to use a native application, such as a module written in C++.

You can take a look at Qt application development framework, they support embedded programming, or native programming to control and look for hardware-related stuff. Yet, providing the graphical components for your cross-platform development. This may be a better approach as compared to WPF and C#, because WPF requires .NET framework, which is only installable on Windows as .NET Core does not support WPF at the moment. Thus anything you do, first requires to pass the test of Windows operating system. Then, you can do that.

If you want to do that using WPF, please consider reading the documentation for modification of Windows Registry, How to: Create a Key In the Registry (Visual C#) | Microsoft Docs

Qt | Cross-platform software development for embedded & desktop
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

AnswerRe: how to bind a wpf app to the hardware? Pin
OriginalGriff1-Aug-17 3:40
mvaOriginalGriff1-Aug-17 3:40 
AnswerRe: how to bind a wpf app to the hardware? Pin
Bernhard Hiller1-Aug-17 22:23
Bernhard Hiller1-Aug-17 22:23 
AnswerRe: how to bind a wpf app to the hardware? Pin
Gerry Schmitz4-Aug-17 11:36
mveGerry Schmitz4-Aug-17 11:36 
AnswerRe: how to bind a wpf app to the hardware? Pin
BenScharbach12-Aug-17 9:37
BenScharbach12-Aug-17 9:37 
Questionhi how can i download offline Mappoint SDK API to integrate in my .net desktop software where i can find that file Pin
shaz171-Aug-17 1:51
shaz171-Aug-17 1:51 
AnswerRe: hi how can i download offline Mappoint SDK API to integrate in my .net desktop software where i can find that file Pin
Afzaal Ahmad Zeeshan1-Aug-17 2:55
professionalAfzaal Ahmad Zeeshan1-Aug-17 2:55 
AnswerRe: hi how can i download offline Mappoint SDK API to integrate in my .net desktop software where i can find that file Pin
Richard MacCutchan1-Aug-17 5:18
mveRichard MacCutchan1-Aug-17 5:18 
Questionhi how can i download offline Mpoint SDK API to integrate in my .net desktop softwrea Pin
shaz171-Aug-17 0:09
shaz171-Aug-17 0:09 
AnswerRe: hi how can i download offline Mpoint SDK API to integrate in my .net desktop softwrea Pin
Pete O'Hanlon1-Aug-17 0:43
subeditorPete O'Hanlon1-Aug-17 0:43 
GeneralRe: hi how can i download offline Mpoint SDK API to integrate in my .net desktop softwrea Pin
shaz171-Aug-17 1:28
shaz171-Aug-17 1:28 
GeneralRe: hi how can i download offline Mpoint SDK API to integrate in my .net desktop softwrea Pin
Pete O'Hanlon1-Aug-17 1:50
subeditorPete O'Hanlon1-Aug-17 1:50 
GeneralRe: hi how can i download offline Mpoint SDK API to integrate in my .net desktop softwrea Pin
shaz171-Aug-17 1:56
shaz171-Aug-17 1:56 
GeneralRe: hi how can i download offline Mpoint SDK API to integrate in my .net desktop softwrea Pin
Pete O'Hanlon1-Aug-17 2:05
subeditorPete O'Hanlon1-Aug-17 2:05 
GeneralRe: hi how can i download offline Mpoint SDK API to integrate in my .net desktop softwrea Pin
shaz171-Aug-17 2:06
shaz171-Aug-17 2:06 
GeneralRe: hi how can i download offline Mpoint SDK API to integrate in my .net desktop softwrea Pin
Pete O'Hanlon1-Aug-17 21:02
subeditorPete O'Hanlon1-Aug-17 21:02 
QuestionHow to adjust recording balance programmatically using WaveLib.AudioMixer? Pin
Member 189821031-Jul-17 23:11
Member 189821031-Jul-17 23:11 
QuestionError: The "GenerateResource" task failed unexpectedly in win 7 - 64 bit ? Pin
Member 245846731-Jul-17 21:45
Member 245846731-Jul-17 21:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.