Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am trying to implement a cross-process event architecture where processes can "subscribe" to events, and then "unsubscribe".
My initial tests using EventWaitHandle are promising (although I've read some negative comments about them, but please set that aside for now).
Since these things are named, and are in fact opened by name using OpenExisting, I was a little surprised to find that the EventWaitHandle class does not have a Name property, so that given a collection of them I can find the one for a given name.
So, given a collection of these things, is there no way to see what name was used to create each one?
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 days ago.
Improve this question
I am trying to create a piece of software than can manage your computer and clean some things up, and one of the things I am trying to incorporate is adblocking.
I have looked online multiple times for something like this, but haven't found anything. The most I amounted to is the webbrowser class.
If someone could help me discern how to change an html file using the webbrowser class, that would be greatly appreciated.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm currently creating a networking library. I want to make 2 base classes for the library like TCPServer, and UDPServer that should be accessed by the 1 script only(Server Script). I don't want any other script to access the those two scripts. How would I accomplish that?
EDIT: I tried making a parameter in the constructor of the base classes of type dynamic passing in thisand then the constructor would check if this object passed in is a Server object. I'm just asking if there is a better way of doing it.
I found the solution, just use the internal keyword to make an object accessible from the current assembly only.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Someone can explain how Collections.Concurrent library are work ?
How we get the thread-safe ?
Is their performance are good ?
You can inspect the concurrent collections implementation by yourself here (this is for ConcurrentDictionary<TKey,TValue>, other collections you can find using the left navigation pane) and get the exact picture of how they work.
The implementation depends on the collection type. It uses volatile, SpinWait, Interlocked and lock.
More information about performance is available in this paper.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am near release date for my Excel Add-In and I want to have only one limitation hardcoded in the code. My aim is for people to download and use the tool for free but have a limitation that potentially encourages them to buy the unlimited version. I know that there isn't a truly secure way to add that limitation but I was wondering what is the best way of achieving it. The limitation is simply a hardcoded value that I store in the Properties section of my app. Any ideas how I can make it a bit more secure?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have my database information saved on a string in clear text, if someone decompile my application its possible to get that information?
If yes there are ways to prevent that?
Yes, absolutely. It's not even hard.
If you are trying to hid a secret from your user, give up. A sufficiently dedicated user will win. You can look at the windows Data Protection API (http://msdn.microsoft.com/en-us/library/ms995355.aspx) but its only a speed bump. If you have to keep it a secret, keep it on your own server.