|
Sandeep Akhare wrote: Is there any confrontation with Microsoft ?
No, there isn't. The .NET Framework is Microsoft's implementation of the Common Language Infrastructure specification, or CLI, that Microsoft invented. The CLI is a set of international standards ratified by ECMA and ISO. I'm sure you can find out more by looking up "Common Language Infrastructure" on Wikipedia.
|
|
|
|
|
(Window Application)
- I have 2 radio button (male, female) in gender GroupBox, and a customer table with column: gender (bit) (SQL Server 2000)
- how bind data for radio button, if gender = 0 [radio male] will be check and if gender = 1 [radio female] will be check
thanks
|
|
|
|
|
Hi!
i am doing licensing of my application which is developed in C#. I generated a license key and stored it in registry at location HKEY_Local_Machine\SOFTWARE\[App_Name]...but soon after doing this i came to know that this location is accessible by any one and any one can change/retrieve license key from there.
I want to know where can i store license key so that it is secured and not accessible to anyone except my application.
Thanks in advance...
Regards,
Affan Ahmad Toor
.....................................
QUAIDIAN FOR ONCE, QUAIDIAN FOR EVER!
|
|
|
|
|
Any location is accessible to anyone, and as your app is in C#, it can be decompiled, so anyone can see where you get it from. You need to ask yourself, how likely is your app to be pirated, and how much do you stand to lose ? If it's a lot, then you need to move some core functionality into a C++ dll, which also handles your licensing. The app must not be able to work without the dll, for this to work at all.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: If it's a lot, then you need to move some core functionality into a C++ dll, which also handles your licensing.
This is also the only solution that, so far, I can imagine. But IMO it is weak, because maybe simple to hack the DLL call. Have you an other idea to improve security?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
The best that you can hope to do is slow somebody down. Anybody armed with sufficient assembly knowledge and a decompiler can get past even the best licensing scheme given enough determination.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi, thanks for reply...
if any location is accessible to anyone then what usually people do to secure their application? putting core functionality in a separate DLL seems a very time consuming way...is'nt there any other way...?
Is there any way i can do it using code, may be by using a different encryption technique or some thing else....?
Regards,
Affan Ahmad Toor
.....................................
QUAIDIAN FOR ONCE, QUAIDIAN FOR EVER!
|
|
|
|
|
Affan Toor wrote: putting core functionality in a separate DLL seems a very time consuming way
Actually it isn't: you have only to put authentication functionality there. Anyway it's a relatively weak solution.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Thanks for reply...
I got your point! i was thinking of core functionality as the major functions of application, but thats easy to put just the authentication functionality in dll.
Since this is the only available method to make application little bit secure, then i think i should go for it...
Thanks again...
Regards,
Affan Ahmad Toor
.....................................
QUAIDIAN FOR ONCE, QUAIDIAN FOR EVER!
|
|
|
|
|
You may also use a NET code obfuscator, but i don't know how secure it is.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Any technique is a realtively weak solution!
The whole idea behind copy protection looks great on paper, until you get a few bored teenagers involved.
|
|
|
|
|
But some are more stringer than others (but it also depends on how much is the teenage bored, of course).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Afternoon all,
I have quite a few textboxes on a form. Is it possible to pass these to a single keypress event handler and then determine therein which textbox sent the message?
Many thanks in advance
Colin
|
|
|
|
|
cols2910 wrote: Is it possible to pass these to a single keypress event handler and then determine therein which textbox sent the message?
The sender argument ( the one that's an object ) is a reference to the control that generated the event. You can check if it's a particular textbox directly, or cast it and then use the tag or name properties.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian,
Many thanks indeed
Regards,
Colin
|
|
|
|
|
Guys
One more thing just occured to me. Is it possible to get the value contained within the textbox from the object sender? I have the name of the textbox by querying the sender object, but can I also get teh value contained within that textbox by similar means. I cant see anything obvious like .value for instance
Many thanks
Colin
|
|
|
|
|
Oh yes. It's also very handy. Of course you have to identify the control that generated the event by inspecting the sender argument of the event handler.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Perfect. I have it working now
Many thanks
Colin
|
|
|
|
|
Got it. cast the sender object then use .Text. Think I have been at this too long
Cheers,
Colin
|
|
|
|
|
I need help in this problem. So, anybody please help. It is urgent.
I have a user control which is docked inside a panel, and a Form. The user control contains an unbounded datgridview control. the Form open with a button on usercontrol. The Form contains few textboxes and a button. On button's click event, The textbox values should be saved inthe usercontrol's datagridview as a row.
I have tried it through delegate also, but, it runs with no errors and no data in datagridview. Please help.
|
|
|
|
|
I have same thing I do this
<%@ Reference Control="~/UserControls/a.ascx" %>
on button click
Dim objHeader As UserControls_a = Page.Master.FindControl("a")
If Not IsNothing(objHeader) Then
objHeader.UpdateCartItemCount()
End If
|
|
|
|
|
Thanks Hardik:
But it is related to ASP.Net and I am developing a windows based application.
Will you please be more specific.
Thanks.
|
|
|
|
|
In Window XP with Sp2, how can we block WiFi, BlueTooth , Serial and ll port?
Vijay Negi
|
|
|
|
|
Hi Brothers,
Yara I am working in C#. I want to read an excel file and put that read data into my database( in access).
Data in written like:
1 ## SUMMARY GP-GS Min FG% 3PT% FT% R/G A/G STL BLK PTS/G
2 -----------------------------------------------------------------------------
3 42 Horford, Al......... 16-16 28.8 .570 .000 .606 9.2 2.5 16 31 13.4
4 02 Brewer, Corey....... 16-16 30.6 .454 .295 .662 4.6 3.1 32 5 12.4
5 11 Green, Taurean...... 16-16 34.8 .381 .360 .886 2.1 3.0 18 1 12.2
Plzz tell me how can i get these records and place in a table having 12 columns(one column for each above column)
|
|
|
|
|
Do you want C# code to do this?
If not you can use import option in the Access.
Regards,
Arun Kumar.A
|
|
|
|