The .NET interface has been reworked in version 4.95 and methods have been renamed to get the relationships more clearly. For the same reasons classes were newly grouped. Also the message and event handling has been changed, please refer to the corresponding chapters (Messaging or Camera) or see the uEye .NET C# SimpleLive demo. Some methods are overloaded, so they can be called with different parameters. So a new instance can be created in various ways (e.g. Allocate()).
New in version 4.95
With version 4.95 there is a breaking change in the uEye .NET interface. In the previous versions there was only one uEye .NET Library, with version 4.95 the uEye .NET interface is split into two new libraries. This change makes the uEye .NET interface compatible with .NET Standard 2.0. (More information on the .NET Standard can be found here: https://docs.microsoft.com/en-us/dotnet/standard/net-standard).
With a few exceptions, all functions were ported to the new uEye .NET Standard 2.0 Libray. Not portable functions were moved to a new uEye .NET Framework Library.
Note that the uEye .NET Standard 2.0 Library is compatible to .NET 5.0! Take care of the changed system requirements for the uEye .NET interface. |
Changed classes and methods:
•Memory class: new class CaptureConfiguration
•Sequence class: new class ImageQueue
•AutoConfigIp class: new methods GetDHCPEnabled, GetDHCPSupported, SetDHCPEnabled
•uEye.Configuration.GigE class: new class TCPIPSetup
•In the Flash class the following methods are changed to enable a negative flash delay: GetParams, SetParams, GetGPIOParamsMin, SetGPIOParams, GetDelayRange, GetGlobalParams
•New Camera event: uEye.Camera.EventFrameSkipped
•Image class: Changed method calls in Save().
Deprecated methods and classes:
•StarterFirmware class: The Upload() method was removed, use Init() instead.
•Sequence class: the methods ExitImageQueue(), InitImageQueue(), and WaitForNextImage() were removed. Use the ImageQueue class instead.
For information on changes in former version refer to .NET version history.