点击或拖拽改变大小

SiemensWebApi 构造函数 (String, Int32)

使用指定的ip地址及端口号来实例化一个对象,端口号默认使用443,如果是http访问,使用80端口号
Use the specified ip address and port number to instantiate an object, the port number is 443 by default, if it is http access, port 80 is used

命名空间:  HslCommunication.Profinet.Siemens
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public SiemensWebApi(
	string ipAddress,
	int port = 443
)

参数

ipAddress
类型:SystemString
ip地址信息
port (Optional)
类型:SystemInt32
端口号信息
参见