API Support Forum
OEC API > API Support > UUID
Author Topic: UUID
(5 messages, Page 1 of 1)
Moderators: VPfau
LGiusti3902
Posts: 4
Joined: Nov 28, 2017


Posted: Dec 04, 2017 @ 08:00 AM             Msg. 1 of 5
Hello,

by documentation I should be able to set the UUID through the OECApi.UUID property.
I'm working in C# ant that property simply does not exist. The OECApi class doesn't seem to implement the UUID property. I'm referencing all dlls: API, CommLib and Protosharp.
I don't how to go around this. It looks like all other properties/methods are there, but not the UUID.

Any idea?
LGiusti3902
Posts: 4
Joined: Nov 28, 2017


Posted: Dec 04, 2017 @ 11:39 AM             Msg. 2 of 5
It looks like this is an old problem:

https://apisupport.gainfutures.com/Topic/Index/1134

the guy in this topic has been able to download the latest version of the API in which OECApi has a UUID member.
I am not as lucky and can't find this latest version.
Can a link be provided?
LGiusti3902
Posts: 4
Joined: Nov 28, 2017


Posted: Dec 04, 2017 @ 11:45 AM             Msg. 3 of 5
Ok, for the record:

to download latest version use NuGet:

https://www.nuget.org/packages/OECAPI/

in Package Manager in Visual Studio use:
PM> Install-Package OECAPI -Version 3.5.14.41

Please remove old version from your website, it creates a few headaches.
CMicciche902
Posts: 367
Joined:


Posted: Dec 04, 2017 @ 12:33 PM             Msg. 4 of 5
Can you point me which page on our website had older API version? That way, I can update to correct version.
Chris M
LGiusti3902
Posts: 4
Joined: Nov 28, 2017


Posted: Dec 04, 2017 @ 01:18 PM             Msg. 5 of 5
Sure:

by going in Gain Capital website in "My Account" -> "Download Software" then downloading OEC Trader Dev (API).
It contains latest versions of examples, with the client.UUID property being used, but the API contained in it (dll and xmls) are obsolete. No UUID member in client class.