|
emran834 wrote: So, it tooks like, only digitally signed liscence file is an efficient way to give the pirator Hard Time
Not the only way, just the way that I would suggest is a balance of costs and effectiveness.
emran834 wrote: Would you please show me any URL of an Article about how to perform this operation , I mean how to make Digitally Signed liscence key, Private Key, etc.
The best souce I've come across is actually from a book: C# Data Security Handbook[^] - It is quite a complex area (which is why many people buy pre-built licence managers) but the book does a very good job of building up knowledge from little or no existing knowledge of cryptography.
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
Hi Colin,
Thanks for the kind information for telling me about the right book. Otherwise i would have needed to spend and experiment hours to select the right book. Although I was Surprised why this book is out of print from Amazon.
By the way, What is the PRE BUILT LISCENCE MANAGER Solution !. If I can just get it then I dont need to reinvent the wheel by learning so complex theory, right ? So, will you please give me a link about a PreBuilt Liscence Manager, it would be great !
Thanks and regards, for your time.
Emran
|
|
|
|
|
emran834 wrote: Although I was Surprised why this book is out of print from Amazon.
Just lucky for the Amazon Marketplace as that is where I got my copy from. And, although my experience with the Amazon Marketplace is that it normally takes two weeks for the book to actually arrive, in this case I ordered it at 15:00 one day and it was on my desk by 09:00 the following morning.
emran834 wrote: What is the PRE BUILT LISCENCE MANAGER Solution
I mean buying in a solution from a company that specialises in that sort of thing. (I'm surprised they don't advertise here on code project because their adverts are all over printed software development magazines.) Anyway, here are a few (I cannot vouch for any as I have not used them):
* DES Key[^]
* Aladdin[^]
* Sentinel[^]
emran834 wrote: If I can just get it then I dont need to reinvent the wheel by learning so complex theory, right ?
I'd still recommend getting the book (even if you just read the introductory chapters) as you will at least gain a broad overview of encryption and data security in .NET so you know what is available should you ever need to use it.
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
Hi Colin,
Thanks for the really really valuable information you provided. I am really happy that Code project is really popular and people are helping each other. I am a Professional PHP programmer and you know, PHP has sooo vast community support and millions of articles available on any kind of project. I was very comfortable to use that technology. If I had any problem I could just search on Google with that keyword and used to get hundreds of article on that, but when I started Microsoft's C#, My GOD, very hard to get resources. Only Microsft is giving some knowledgebase in MSDN and thats it. I dont see any strong community resources on microsoft products. Now , I m having so many difficulties using DataGrids and Table Adapters, but when i search in Google with the keyword of my problem, hardly two or three links come up and most of the time i really dont get solution. Finally I found CODE PROJECT which is really useful.
I appreciate your co-operation again.
Thanks and regards
Emran
-- modified at 0:23 Thursday 2nd February, 2006
|
|
|
|
|
emran834 wrote: If I had any problem I could just search on Google with that keyword and used to get hundreds of article on that, but when I started Microsoft's C#, My GOD, very hard to get resources. Only Microsft is giving some knowledgebase in MSDN and thats it
Ummm.... I think the .NET Community is quite vast in itself. I think that if I were to switch to PHP I'd have difficulties to begin with, but that would mostly be down to not knowing the proper keywords to stick in a search engine. When I'm looking for something I ususally get what I want on the first page of hits.
If you listen to podcasts, and if you don't they are an excellent way to learn while driving, you could get hold of DotNetRocks[^], they've also started webcasts which are also really useful dnrTV[^]. Their plan is to put the podcast out early in the week (so you get the high level overview) then have the same guest come back and drill down deeper in the webcast while showing actual code.
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
Hi Colin,
Would you please help me with a clue about adding EDIT feature (CUT + COPY + PASTE + SELECT ALL + UNDO) to all editable controls in Windows form. This features should be available from Right Click Mouse Menu, CTRL+C, ...etc, and Edit Menu. I have 20 controls in my form and its reallt getting hard to write code for every control. I thought there must be some way available for this purpose as every programmer needs to implement this feature. I was thinking about a way like this,
Cut Event Handler()
{
// get the control reference who has focus.
// ficusedControl.Cut();
}
But i cant get the clue how can i determine who has focus. If i want to check one by one like
if( control1.focused )
.....
else if (control2.focused)
....
etc...
Then for 20 control, it will be a very clumsy code. moreover, if i get the control name, i am not sure if that control reference will support .CUT() method.
Can you give me any clue please..
Thanks and regards
Emran
|
|
|
|
|
You would be best posting a new topic so that everyone sees it. That way you are more likely to get a response from someone.
You might like to look at the MEMENTO pattern. It is a design pattern that helps to hold state so that it can be used elsewhere. Typically it is found in Undo/Redo code, but I think it would lend itself quite well to cut/copy/paste operations also.
emran834 wrote: But i cant get the clue how can i determine who has focus
I'm not an expert on WinForms applications, but if that is the only way to find the control with focus then that's what you have to do.
If you have your own control classes then you might want to consider implementing an interface for the cut/copy/paste operations and having the control also inherit from the interface. Then in your loop you can easily find if the control supports cut/copy/paste as you can check for the interface. e.g.
if (theControl is ICutCopyPaste) {} Where ICutCopyPaste is the name of the interface that you might create.
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
How Can they do that who make Screen Controlable NumericUpdowns, Which can be controlled both with or without arrows. LETS take the hour example. U can set the alarm both from arrows at the right hand site, and also from clicking o a simple number. And as far as I saw there is not any other hidden control there. It ought to be some other thing. Can someone tell What it is ?
-- modified at 3:04 Wednesday 1st February, 2006
|
|
|
|
|
Hi All,
Whenever I debug any of my program using F11 it always goes to disassembly window ,which i don't want.can anybody please tell me how to disable this.Thanks in Advance.
Rakesh
|
|
|
|
|
|
Hello rakesh,
Plz Build solution every time whenever you want to debug it. Becoz it is possible that debugger will take old build solution & may give message that original source may change.
Regards,
Divyang Mithaiwala.
Best of luck.
|
|
|
|
|
iam new for c#,i have a problem in pushing the value to the table,from the datagrid,that is selecting the column using the checkbox,and delete from the table as well as datagrid like yahoomail and rediffmail by selecting the checkbox and delete
-- modified at 2:06 Wednesday 1st February, 2006
|
|
|
|
|
Hi,
You can wite code for that in 'oncheckchanged'='some function'.
lucky
|
|
|
|
|
Hi, i'm developing a smartdevice application and i'm trying to read in elements from an XML document that i created? I've looked around and found i'm slightly lost
<client>
<currentclient ID="01">
<clientTeam>Arsenal</clientTeam>
<clientName>Dave Dunn</clientName>
<clientPos>1st</clientPos>
<clientWon>0</clientWon>
<clientLost>0</clientLost>
<clientDrawn>0</clientDrawn>
</currentclient>
</client>
Is the XML document and currently i want to be to say take the value of clientTeam "Arsenal" and set the text on a label elswhere to the value.
<code>public void UserReader()
{
string Path1 = "/Program%20Files/SmartDeviceApplication4/User.xml";
XmlTextReader Reader = new XmlTextReader (Path1);
while (Reader.Read())
{
if (Reader.NodeType == XmlNodeType.Element)
{
if (Reader.LocalName.Equals("clientTeam"))
{
this.TeamTitle.Text = Reader.Value;
}
if (Reader.LocalName.Equals("clientName"))
{
this.ManagerName.Text = Reader.Value;
}
}</code>
Is what i had, but i really dont think its what i'm looking for - it compiles but the label values dont change.
|
|
|
|
|
Hi davedunn,
Try giving
this.TeamTitle.Text = Reader.ReadInnerXml();
insteadoff
this.TeamTitle.Text = Reader.Value;
Guess this will help you.
Thanks and Regards
Kodandapani.
|
|
|
|
|
Hi.
I'm having a little trouble getting this thing to work.
I have two tables Houses and People
Every "Person" belongs to a House, but only one per house is the "OwnerOfHouse".
So I made a colum named "HouseOwner" in the "House" table, which has the PersonID. And every person has a "HouseID_FK" which tells them to which house they belog.
SO here is the thing. I'm working with ADO.NET 2.0, and using BindingSource. So I have a BindingSource that has my Houses in a nice DataGridView, and when I click on any of them, I have another DataGridView which displays the people that live there.
That works Fine.
Now, when I chose one of the inhabitants, and press a button, His ID is updated on the Houses table, and I have a reference that tells me he is the Owner. So far so good.
What I want to do is that when I choose a House in my first DataGridView, The Owner is selected automaticlly in the People DataGridView. So far I've tried everything I could thinf of, but it allways selects the first element (the first person on the list).
Thanks in advance.
|
|
|
|
|
Please help me out by giving detailed sketch over the conversion of a VB 6.0 project to a C#.NET project. (should not produce unexpected results after conversion). Thanks for everyone who helps me.
love coders'
|
|
|
|
|
Once again, the only practical option you have is to rewrite the application from scratch. There are no steps to go through to convert the code! You have to write your own steps based on your own VB6 code!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I'm currently developing some kind of editor by using the PropertyGrid. I saw in VS.Net that the property in PropertyGrid can be validated in range, I want to add that feature in my application also, but I don't know how.
Does anyone know anything about this ? Do it need to create new TypeConvertor ? Or just specify the attribute to that property ?
Wutipong W.
|
|
|
|
|
Hi
ProperyGrid control displays the properties collection for an object. For
each property in the propertygrid, its value can only be displayed in
string representation.
For a property that is build-in type, .Net has provided the
validation, while for custom type, we should implement the TypeConverter to
do the type convertion and validation.
Thanks and Regards
Pani
|
|
|
|
|
OK, I have to implement the TypeConverter.
Thank you very much
Wutipong.
|
|
|
|
|
I would like to ask one more question.
What is displayed in the PropertyGrid Cells anyway, is it just take string from ToString() method, or using some mechanism to create the panel and display it there, etc ? And how can I customize the way it display property in the PropertyGrid.
Well, I means, what is espect to return from TypeConverter to use in PropertyGrid ?
Regards,
Wutipong
-- modified at 2:48 Wednesday 1st February, 2006
|
|
|
|
|
|
I'll be very thankful,if someone lets me know the way by which I could convert a Visual Basic 6.0 project to C#.NET.
After migration, the code must produce the same results as seen in VB6.0.
love coders'
|
|
|
|
|
That is not possible I think. You can convert from VB6 to VB.Net but even then you have to do some things manually.
Greetings,
Ingo
|
|
|
|
|