|
I believe you can do this using WMI. Read this[^] article or this[^] post.
Hope it helps.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
hi.
how can I see the list of files that a computer sent or recieved over a lan?
thanks
|
|
|
|
|
I don't think there is a single repository for something like that. Do you mean over a particular protocol?
|
|
|
|
|
FileSystemWatcher class might be of your interest. You can find a lot of samples related to this class' usage on web.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
Windows does not track such information. There is no way to tell.
Also, since there are so many different ways of sending files and over so many protocols, there's no single way to find out even if that stuff was tracked.
|
|
|
|
|
hi every body.How can I see the list Of active computers over a lan?
thanks
|
|
|
|
|
hi,
one way is to ping over your network range.
each ping comes back u know the pc is active.
greetz
|
|
|
|
|
I want to write it's code with c#.
|
|
|
|
|
There is an article regarding this right here at CP. Search for that using appropriate keywords.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
what do you mean about stupid???
|
|
|
|
|
I am building mobile app in c# and RedFiveLabs NET60,
at the end the error message came up "the project file c:\users\adahada\AppDAta\Local\Temp\5p3kpxfc.4qo\Temp\MyDeployment1.genesisproj" cannot be oppened. the project type is not suppored by this installation.
Please how do i get pass these bottle necks.
thanks.
|
|
|
|
|
Enobong Adahada wrote: the project type is not suppored by this installation.
I think this message is the clue.
|
|
|
|
|
Check your installation. If you have installed Net60 correctly, you should be able to open this file.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
|
If a client (Client-A) wants data from a server that the server received from a different client (Client-B) then Client-A needs to connect to the server and request it. To connect to a socket on "localhost" use IPAddress.Loopback as the destination address.
|
|
|
|
|
Hi there,
If i assign a value to a string, is it possible to go and see where it is stored in the memory and what the value is?
e.g.
string _testString = "Value I want to read from memory";
Any way to do this?
|
|
|
|
|
diePopster wrote: see where it is stored in the memory
Why?
only two letters away from being an asset
|
|
|
|
|
Yes, but it is not recommended. If you have a requirement to do this you should really be using C++.
This is a quickie example of manipulating a string by getting it's pointer (char*)
string text = "Test";
unsafe
{
fixed (char* textPointer = text)
{
char* pointer = textPointer;
*pointer = Char.ToLower(*pointer);
*++pointer = Char.ToUpper(*pointer);
*++pointer = Char.ToUpper(*pointer);
*++pointer = Char.ToUpper(*pointer);
}
}
|
|
|
|
|
On top of everything else that's been said, using managed code, C#, VB.NET, or any other language that targets the .NET Framework, an item can be moved in memory by the Garbage Collector at any time. So, even though you got the pointer to item, you really cannot use the pointer because the item might not be there anymore. The pointer you have will NOT get updated to reflect the new location in memory.
However, there is a way aroudn that. It's called "pinning". The GC can be told to pin an object in memory so it can't be moved. Read up on it here[^]. Be careful. When you pin an object, you are also responsible for removing the pin when you're done with it.
|
|
|
|
|
I cannot find the file NET60.sis file in the net60 dir after installation.
please what went wrong.
thanks
|
|
|
|
|
So what is net60 and how does this relate to c#? Have you asked the vendor, they will probably know.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
the .sis extension implies you're doing something with Symbian based mobile phones, which means you're likely to really be in the wrong forum!
|
|
|
|
|
Enobong Adahada wrote: I cannot find the file NET60.sis file in the net60 dir after installation
After the installation of what??
|
|
|
|
|
Hi,
I want to get rearm count of windows 7 OS.
I want to do it in C#. Please help me out in getting rearm count of Windows 7 opearting system
Thanks in advance,
AR Reddy
|
|
|
|
|
Explain 'Rearm Count'?
Motivation is the key to software development.
|
|
|
|