在网上找到解决方案: SolutionEnable RDP security layer in Group Policy on the machine: Verify that the firewall allows remote desktop connections with RDP (Port 3389)Click Start>RunType gpedit.msc and click "OK"Result: The Group Policy Editor will open
先在nuget包中添加System.Management.Automation引用. 然后下面就是代码了. using System;using System.Collections.ObjectModel;using System.Management.Automation;using System.Text;using System.Windows.Forms; namespace GetMAC{ public partial class Form1 : Form {
一.准备软件 VNC Server (MAC OS X已支持) RealVNC/TightVNC 二.MAC OS X设置 注:Mac OS X 10.5 已经支持了VNC Viewer访问的功能,设置如下: 1.在 系统偏好设置-共享-勾选“远端管理”,点击电脑设置 2.勾选“VNC显示程序可以使用密码控制屏幕“在文本框中输入8位密码,点击”好“,这样就可以通过其它PC或Mac上的VNC Viewer来连接这台Mac进行远程控制了. 3.选择可以远程登录的用户 方法一:RealVNC连接 官网