No. 1727 | set_dhcp or set_ip4_local_address don't work | 2020-05-19 | ||
---|---|---|---|---|
Good morning, I'm writing an application in dotnet (windows form) that uses the library 'ezManagerLib.dll'. I can read correctly information such as DHCP (get_dhcp ()) the various addresses (get_ip4_local_address (), get_ip4_subnet_mask (), etc.), but I'm not able to write them using the: set_dhcp (), set_ip4_local_address (), etc. I use the following syntax: [DllImport ("ezManagerLib.dll", CharSet = CharSet.Auto)] public static extern int set_dhcp ([In] byte [] mac_address, int onoff); [DllImport ("ezManagerLib.dll", CharSet = CharSet.Auto)] public static extern int set_ip4_local_address ([In] byte [] mac_address, [In] byte [] ip4_local_address); Where am I wrong? Thankyou very much. Andrea Saccomandi |
Writer | Andrea Saccomandi | Company | T.E.A. |
|
|||