[英]Using C# to get a Remote Desktop certificate
I am not sure if this is the correct place to post this and if not please feel free to direct me.我不确定这是否是发布此内容的正确位置,如果不是,请随时指导我。
I am looking to get the certificate expiration date of a terminal server.我正在寻找终端服务器的证书到期日期。 I can find it manualy here :我可以在这里手动找到它:
I would like to automate this proccess of finding the expiration date of the certificate preferably from outside of the server on my computer.我想自动化这个过程,最好从我计算机上的服务器外部查找证书的到期日期。
In some cases the TS would be a local IP and for other cases their is a url link to the remote desktop.在某些情况下,TS 将是本地 IP,而在其他情况下,它们是到远程桌面的 url 链接。
If it can only be done from within the server I can make that work.如果只能从服务器内部完成,我可以完成这项工作。
Are there any suggestions as to where i can find some information to set this up?关于我在哪里可以找到一些信息来设置它有什么建议吗?
Any help is much aprechiated, thanks.任何帮助都非常感谢,谢谢。
You can overload using below link;您可以使用以下链接重载;
Replace the remote server path: \YourRemoteServerName\My in the storeName parameter.替换远程服务器路径:storeName 参数中的\YourRemoteServerName\My。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.