Professional Documents
Culture Documents
คู่มือการพัฒนา CryptoMate Function
คู่มือการพัฒนา CryptoMate Function
OutputFileURL เป็ น url ที่ใช้ สาหรับ url ของ Project ตามด้ วยฟั งก์ชนั การอัปโหลดไฟล์
อัปโหลดไฟล์ที่ผา่ นการ (สามารถดูวิธีการเขียนอัปโหลดได้ ที่ข้อ 4)
เข้ ารหัสแล้ ว http://localhost:80/UploadConfirmationReport/Up
loadFile
codeBase เป็ น url ที่ใช้ ระบุ Folder ที่ ระบุ url ที่อยูข่ อง CryptoMateWI.jar ใน Project
เก็บไฟล์ CryptoMateWI.jar
instanceName เป็ นชื่อที่ใช้ ในการเรี ยกใช้ ปกติจะตัง้ Default ไว้ ที่ cryptoMate ไม่มีความ
งาน Crytomate จาเป็ นต้ องเปลี่ยน
db.SubmitChanges();
}
}
}
return Json(new
{
IsSuccess = true,
PathFile = "Done",
NameFile = Request.Files[0].FileName
});
}
else
{
return Json(new
{
IsSuccess = false,
ErrorMessage = "ไม่พบข้อมูล"
});
}
}
catch (Exception ex)
{
return Json(new
{
IsSuccess = false,
ErrorMessage = ex.Message
});
}
}