在事件日志跟踪中更改输出 [英] Changing output in event log tracking

查看:57
本文介绍了在事件日志跟踪中更改输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在事件日志中更改客户端用户",如果清除了该日志以显示人的名字和姓氏,而不是在vb中显示个人资料名称.我们有一个系统设置,允许多人使用计算机上的一个配置文件,但使用另一个程序登录用户名.

Is it possible to change the ''client user'' in in the event log, when the log has been cleared to show maybe the persons first and last name rather than a profile name in vb. we have a system set up that multiple people use one profile on the computer but use another program to log in the username. its a an application me and my buddys are developing for a small buisness.

推荐答案

没有直接的.NET API可以使用,但是如果您想摆弄它,它是一个应用程序.您可以P/Invoke WIN32为您做.有关详细信息,请参见此博客:使用用户详细信息记录事件 [
There is no direct .NET API you can use, but if you want to fiddle around you can P/Invoke WIN32 to do it for you. See this blog for details: Logging Events with User details[^]


这篇关于在事件日志跟踪中更改输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆