Change-Id: I2879ca13180cee3ab1bf561c273a572a108dab67
Signed-off-by: cheoleun <chleun.moon@samsung.com>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<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>
<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;
+
- 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;
CheckDisposed();
if (value != null)
{
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)
{
int ret = Interop.ConnectionCellularProfile.SetAuthInfo(ProfileHandle, type, name, password);
if ((ConnectionError)ret != ConnectionError.None)
{
Name: csapi-network-connection
Summary: Tizen Connection API for C#
Name: csapi-network-connection
Summary: Tizen Connection API for C#
Release: 1
Group: Development/Libraries
License: Apache-2.0
Release: 1
Group: Development/Libraries
License: Apache-2.0