<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Version>1.0.19</Version>
+ <Version>1.0.20</Version>
<Authors>Samsung Electronics</Authors>
<Copyright>© Samsung Electronics Co., Ltd All Rights Reserved</Copyright>
<Description>Provides the Connection APIs for Tizen .NET</Description>
{
}
+ private CellularAuthInformation _cellularAuthInfo = null;
+
~CellularProfile()
{
}
return null;
}
- CellularAuthInformation AuthInfo = new CellularAuthInformation();
- AuthInfo.AuthType = (CellularAuthType)type;
- AuthInfo.UserName = name;
- AuthInfo.Password = password;
- return AuthInfo;
+ if (_cellularAuthInfo == null)
+ _cellularAuthInfo = new CellularAuthInformation();
+ _cellularAuthInfo.AuthType = (CellularAuthType)type;
+ _cellularAuthInfo.UserName = name;
+ _cellularAuthInfo.Password = password;
+ return _cellularAuthInfo;
}
set
CheckDisposed();
if (value != null)
{
- CellularAuthInformation AuthInfo = value;
- int type = (int)AuthInfo.AuthType;
- string name = AuthInfo.UserName;
- string password = AuthInfo.Password;
+ _cellularAuthInfo = value;
+ int type = (int)_cellularAuthInfo.AuthType;
+ string name = _cellularAuthInfo.UserName;
+ string password = _cellularAuthInfo.Password;
int ret = Interop.ConnectionCellularProfile.SetAuthInfo(ProfileHandle, type, name, password);
if ((ConnectionError)ret != ConnectionError.None)
{