No. 1730 | Re: Re: set_dhcp or set_ip4_local_address don | 2020-05-21 | ||
---|---|---|---|---|
It is great to hear that. Please feel free to contact me if you need any further information. Best regards, > Andrea Saccomandi wrote: > ------------------------------------ > > Solved ||| > > At the end need to call: EzTCP_Write() > > > > Andrea Saccomandi wrote: > > ------------------------------------ > > 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 | Sollae Systems | Company | sollae |
|
|||