|
I found an attribute productID in win32 through which u can get serial/key no of the product.
if I can filter from the complete list softwares that have keys. I can detect.but i am not getting the exact approach.Please think over again !!
Karunish Arora
India
|
|
|
|
|
I guarentee you that my software does not have this attribute. You cannot tell without knowing how my application works, specifically, if it is a trial version or not.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hmm...
But if customer has demanded such a thing then there must be existing way to list trial version softwares may be some otherway. That is why i am stuck up ???
Karunish Arora
India
|
|
|
|
|
OK, let me get this right - if a customer asks for it, it must be possible ?
The sort of customers who hire cheap developers from sites like rentacoder are clueless morons, sorry.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
You can't. Still. You CANNOT tell if they are trial versions, unless the word 'trial' appears in their name or something.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
karunisharora85 wrote: if customer has demanded such a thing then there must be existing way
I think you must be new to this game. Just because the customer wants it doesn't meant its actually possible! Learn the art of managing expectations.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
is there any way to idebtify if an string is an IP?
|
|
|
|
|
Use System.Net.IPAddress.TryParse()
|
|
|
|
|
Perfect, I didn't know this existed. Got my 5
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks
|
|
|
|
|
Hoo boy - I didn't even know that existed. A 10 out of 5 for you sir.
|
|
|
|
|
I am delighted. Ratings from you is lot for me. Thanks pete.
|
|
|
|
|
thanks:usefull,helpfull,fullfull
|
|
|
|
|
Use a Regex . The following should work: @"(\d{1,3}\.){3}\d{1,3}"
|
|
|
|
|
I thought of that, but it's not perfect. It will accept 300.534.999.21
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: It will accept 300.534.999.21
Close enough
|
|
|
|
|
A regular expression will do that. I suspect Expresso ( www.expresso.com[^] ) will have one to do that built in.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
greetings,
one simple question:
there are 5 threads;
each one has read/write access to global object;
before read/write to object, operation is enclosed with lock keyword.
is app completely thread safe?
p.s. even if each processor enters lock (obj) statement at the same time
|
|
|
|
|
Asipu wrote: before read/write to object, operation is enclosed with lock keyword.
Hard to tell without seeing code you used.
|
|
|
|
|
i think that sample code is irrelevant, im just concerned if its theoretically possible
that two threads enter lock (obj) at the same time;
even if it isnt with single cpu, what about multi proc machine
|
|
|
|
|
Asipu wrote: if its theoretically possible
that two threads enter lock (obj) at the same time;
If used properly, lock ensures one thread access the block. It won't make any difference in a multi processor machine, I guess.
|
|
|
|
|
explain structure with array in c#.net?
|
|
|
|
|
What do you need explained ? You can just create an array, but I'd use a list. You can create an array or a list of structs, same as you would any type.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Look at the past posts from this guy, its all "Explain ...", no please, no thank you. At the end of last week I suggested he bought a book and learned Google
Bob
Ashfield Consultants Ltd
|
|
|
|