我可以使用C#将事件日志写入远程计算机吗? [英] Can I Write An Event Log To Remote Machine Using C#
本文介绍了我可以使用C#将事件日志写入远程计算机吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能将事件日志写入另一台机器?
Is it possible to write an event log to another machine?
推荐答案
嗯...是......如果你有一个共享文件夹如果你的电脑有连接,你可以用适当的权限写下你喜欢的任何内容。
但你的意思是我可以写一个Windows事件日志吗?远程机器?然后我怀疑这会给你带来更多的问题。
这可能会有所帮助 - 但是你会不得不做很多阅读,我想:http://www.windowsecurity.com/articles-tutorials/windows_os_security/Accessing-Security-Logs-Remotely- Efficiently.html [ ^ ]
Well...yes...in the sense that if you have a shared folder with appropriate permissions you can write anything you like into it, provided your PC has a connection.
But it you mean "can I write to the windows event log on a remote machine?" then I suspect that is going to give you a lot more problems.
This may help - but you are going to have to do a lot of reading, I think: http://www.windowsecurity.com/articles-tutorials/windows_os_security/Accessing-Security-Logs-Remotely-Efficiently.html[^]
http://lmgtfy.com/?q=write+event+log+remote+machine+c%23 [ ^ ]
这篇关于我可以使用C#将事件日志写入远程计算机吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文