Change-Id: I7310b55b127f0f6db879188809f92eb522ee4bea
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
{
"dependencies": {
"NETStandard.Library": "1.6.0",
+ "System.Diagnostics.Process": "4.1.0",
"System.Threading.Thread": "4.3.0",
"Tizen": "1.0.2",
"Tizen.Applications": "1.2.0"
using System.Text;
using System.Collections.Generic;
using System.Threading;
+using System.Diagnostics;
namespace Tizen.Applications.DataControl
{
index++;
fileTable[threadID] = index;
- path = DATACONTROL_DIRECTORY + Application.Current.ApplicationInfo.ApplicationId + "_"+Application.Current.ApplicationInfo.ProcessId.ToString() + "_" + threadID.ToString() + "_" + index.ToString();
+ path = DATACONTROL_DIRECTORY + Application.Current.ApplicationInfo.ApplicationId + "_" + Process.GetCurrentProcess().Id.ToString() + "_" + threadID.ToString() + "_" + index.ToString();
return path;
}