identify

Identifying the CPU architecture type using C#

I want to check which CPU architecture is the user running, is it i386 or X64 or AMD64. I want to do it in C#. I know i can try WMI or Registry. Is there any other way apart from these two? My project targets .NET 2.0! ...

Unique identification of a certain computer

hello everyone, i have following scenario and can't seem to find anything on the net, or maybe i am looking for the wrong thing: i am working on a webbased data storage system. there are different users and different places and only certain users are allowed to access certain parts of the system. now, we do not want them to connect to ...

How to identify the keyboard keys using C#

Hi, I have an C# application runing at the back ground. Now i want to stop this application when the system is locked. how can i do that. Any help regarding this is really appreciated. Thanks Hougen for the solution. could you please suggest me should we include any Dlls to handle "Microsoft.Win32.SystemEvents.SessionSwitch" this event...

Get Object reference when using context rewrite path

Hello I get this error when i have this in my codebehind: if(Page.User.Identity.IsAuthenticated) System.NullReferenceException: Object reference not set to an instance of an object. This error show when i use context.RewritePath method http://localhost/page.apsx?id=22 --> http://localhost/hello-world/ Page.User.Identity.IsAuthenti...

Which language is the following program written in?

http://www.geocities.com/CapeCanaveral/Hall/2027/alfabeto.txt part of it: procedure f /martina go 20 rt 90 go 10 lt 180 go 10 lt 90 go 10 lt 90 go 10 up go 5 rt 90 go 10 lt 180 down end ...

How to uniquely identify a computer based on Gmail, Skype and Apple updates

Hi folks, I bought an iMac some time ago. Although it was stolen some time ago, I managed to get the Serial Number from the provider who sold it to me. The point is that I know who took it and also that he is using it. I have received gmail from him and also Skype. Could I somehow identify that serial number based on those messages? I...

How to identify one-to-one (one-to-?) relationship using INFORMATION_SCHEMA or sys views in Sql Server

So here is the problem.. Using TSQL and INFORMATION_SCHEMA or sys views, how can I identify a 1:0-1 relationship, such as FK_BaseTable_InheritedTable? In a concrete example, imagine a simple DTO - FK_JoinTable_ParentTable would be rendered as a collection of JoinTable on the ParentTable object, whereas FK_BaseTable_InheritedTable woul...

Need a simple tool for analysing unicode characters

I'm surprised I can't find a simple tool for this. Basically, sometimes as a result of text munging, or using some piece of software, I end up with some text that has some troublesome characters - such as looking a lot like other characters, but being distinct from them. I'd like a tool (preferably online, javascript based) where I can p...

Identify which AlertDialog triggered onClick(DialogInterface dialog, int which)

I'm creating a dialog as follows: @Override protected Dialog onCreateDialog(int id) { switch (id) { case DIALOG_1: return new AlertDialog.Builder(this) .setTitle(R.string.s_dlg1) .setPositiveButton(android.R.string.ok, this) .create(); case DIALOG_2: ... ... } return null; } @Override public void onCl...

What company's FavIcon Logo is this? Popular CMS?

Link to logo/favicon: http://img818.imageshack.us/img818/7258/cmslogo.png Been trying to hunt down the name of this product / software / company for... maybe the past year! (not actively hunting of course) Thought some of you experts here on stackoverflow would know the answer right away. What product reps. this logo above? Looks lik...