한국어 English Chinese Russian
bannerbar

Q&A



Your information is protected by SSL.
No. 1728 Re: set_dhcp or set_ip4_local_address don 2020-05-20

Dear Andrea Saccomandi,

To find out the reason, we need to know your code. Please send us your full source code via support@eztcp.com

Best regard,



> 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