|
Hi guys,
In C#, is there a way to get a date that is unchangeable by the user?
Please help!
sasa
|
|
|
|
|
From the system? No.
You could fetch one from the internet (which surely means some sort of open connection to it needs to be open).
|
|
|
|
|
Even that's not foolproof. If a user wanted to mess with your datechecking app, they could use a packet sniffer/modification tool to intecept the NTP request and spoof the return results.
|
|
|
|
|
A combination of this with some sort of encryption could help.
But you are right. It would be really hard to get this working under all circumstances.
A better way (although also not exact) would be to analyze app startup/shutdown along with the system up times to discover manipulations.
|
|
|
|
|
Thank you guys for all your suggestions, I think I will go with the date that I am parsing with my first transaction since nobody is going to go in there and change the date on that. And as for a fixed date I will just hard code the date of install on the application. I think this is the easiest solution for me.
sasa
|
|
|
|
|
I am using .net2005
Is there any documentation tool exist in c#.net?
I want to do technical documentation of project(for developer) such as classess ,namespaces in that project.
|
|
|
|
|
Look at my reply[^] on another thread.
|
|
|
|
|
I want to store value of some variables like userid and password throughout my application .Is there any file in c#.net like Global.asax in ASP.net?
|
|
|
|
|
Look three threads further down.
---
b { font-weight: normal; }
|
|
|
|
|
|
Hi,
I want to dynamicaly load text from an generic data container into a TextBox (Windows Form). How do I put the text/data into the TextBox?
Cheers
/Christoffer
|
|
|
|
|
Hi,
Not quite sure if i understand your query.
Do you want to load a text box with the contents of a text file?
|
|
|
|
|
<br />
Binding binding = new Binding("Text", ds, "MyTable.MyColumn");<br />
Textbox txt = new Textbox();<br />
txt.DataBindings.Add(binding); <br />
only two letters away from being an asset
|
|
|
|
|
Thanx Mark!
That was what I were searching for.
cheers
/Christoffer
|
|
|
|
|
how i can create the setup of my complete project in C# application?
|
|
|
|
|
Add a setup project to your solution
only two letters away from being an asset
|
|
|
|
|
How do I declare a global variable so that I can use it through out my project.
boboza
|
|
|
|
|
public static class Global
{
public string sGlobal;
}
you can access from anywhere in application like,
Global.sGlobal="some text";
-- modified at 7:12 Friday 4th August, 2006
|
|
|
|
|
|
how i can use Barcode in My C# application?.plz someone help me
thanks
|
|
|
|
|
how i can add Event Handlers in MY C# application?
plz help me anybody thanks
|
|
|
|
|
You would do better to read a book on C# before asking such a basic question.
only two letters away from being an asset
|
|
|
|
|
Hi Everyone,
I know there is a pac-man game for mobile phones, does anyone know where I can get a ASP.net version so I can add it to my site? Is it easy to tweak the phone version?
Cheers.. Dan
|
|
|
|
|
Hello...
Does anybody know how to show all groups in Windows 2000 ?
In MSDN I have found, how to show WindowsBuiltInRole, but
when I create my own role (for example : MyGroup), I don't
know how to show it.
Thanks.
|
|
|
|
|
stancrm wrote: I don't
know how to show it.
What do you mean by this? Do you mean showing the members of this group? Have you looked at the System.DirectoryServices namespace?
only two letters away from being an asset
|
|
|
|