summaryrefslogtreecommitdiff
path: root/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcCardEmulationAdapter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Tizen.Network.Nfc/Tizen.Network.Nfc/NfcCardEmulationAdapter.cs')
-rwxr-xr-x[-rw-r--r--]Tizen.Network.Nfc/Tizen.Network.Nfc/NfcCardEmulationAdapter.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcCardEmulationAdapter.cs b/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcCardEmulationAdapter.cs
index a9cef59..a1a0a5c 100644..100755
--- a/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcCardEmulationAdapter.cs
+++ b/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcCardEmulationAdapter.cs
@@ -333,11 +333,7 @@ namespace Tizen.Network.Nfc
{
if (aid != IntPtr.Zero)
{
- NfcRegisteredAidInformation aidInfo = new NfcRegisteredAidInformation();
-
- aidInfo.SeType = (NfcSecureElementType)type;
- aidInfo.Aid = Marshal.PtrToStringAnsi(aid);
- aidInfo.ReadOnly = readOnly;
+ NfcRegisteredAidInformation aidInfo = new NfcRegisteredAidInformation((NfcSecureElementType)type, Marshal.PtrToStringAnsi(aid), readOnly);
infoList.Add(aidInfo);
}