IAddressInformation _ipv4 and _ipv6 was created by Connection.AddressFactory.CreateAddressInformation.
However, for WiFi, it was wrong approach and so Connection.AddressFactory.CreateAddressInformation is used only for Connection csapi.
Now, WiFi AddressInformation is directly created.
Change-Id: I89628bd98f160c36a0cb2caa31f10f3afb65d278
Signed-off-by: cheoleun <chleun.moon@samsung.com>
Name: csapi-network-wifi
Summary: Tizen Wi-Fi API for C#
-Version: 1.0.2
+Version: 1.0.3
Release: 1
Group: Development/Libraries
License: Apache-2.0
internal WiFiNetwork(IntPtr apHandle)
{
_apHandle = apHandle;
- _ipv4 = AddressFactory.CreateAddressInformation(apHandle, AddressFamily.Ipv4, AddressInformationType.WiFi);
- _ipv6 = AddressFactory.CreateAddressInformation(apHandle, AddressFamily.Ipv6, AddressInformationType.WiFi);
+ _ipv4 = new WiFiAddressInformation(apHandle, AddressFamily.Ipv4);
+ _ipv6 = new WiFiAddressInformation(apHandle, AddressFamily.Ipv6);
IntPtr strPtr;
int ret = Interop.WiFi.Ap.GetEssid(_apHandle, out strPtr);