For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
We do not do your HomeWork. HomeWork is not set to test your skills at begging other people to do your work, it is set to make you think and to help your teacher to check your understanding of the courses you have taken and also the problems you have at applying them. Any failure of you will help your teacher spot your weaknesses and set remedial actions. So, give it a try, reread your lessons and start working. If you are stuck on a specific problem, show your code and explain this exact problem, we might help.
As programmer, your job is to create algorithms that solve specific problems and you can't rely on someone else to eternally do it for you, so there is a time where you will have to learn how to. And the sooner, the better. When you just ask for the solution, it is like trying to learn to drive a car by having someone else training. Creating an algorithm is basically finding the maths and make necessary adaptation to fit your actual problem.
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
var workspace = new AdhocWorkspace();
var generator = SyntaxGenerator.GetGenerator(workspace, LanguageNames.CSharp);
var myProperty = generator.PropertyDeclaration("MyProperty", generator.TypeExpression(SpecialType.System_Int32), Accessibility.Public);
using SF = Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
var myProperty = generator
.PropertyDeclaration("MyProperty", generator.TypeExpression(SpecialType.System_Int32), Accessibility.Public)
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Not all applications 'register' their presence on a server, so unless you know where the assemblies are located you won't find them.
I'd be assuming that you're talking about a web-server. Go to IIS to see what applications are running.
Getting 'all types' of a running windows-application is hard; you'd typically run the app and dump all loaded references (and thus, types), and there is the weak point - that only applies to loaded assemblies, not the ones that are loaded by hand (or not loaded because the environment did not need it yet).
What are you trying to do? Make a list of all applications installed on a computer?
Bastard Programmer from Hell If you can't read my code, try converting it here[^]
Without having admin privileges on a box, you can't. You will only be able to identify the applications that are registered, or that you can search in public folders for. There will be many directories that you won't be able to access.
You can get a list of applications currently in memory using the Task Manager. You can see applications running under other contexts using the SysInternals Process Explorer.
You can't magically know what unloaded code will use as a runtime without actually examining it. That's like shaking a box at Christmas and trying to figure out exactly which GI Joe action figure grandma got you.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli