I have a mobile application in android and I use .net as API I have form to users to attached doctor prescription for medical leaves how to check that they attached the write file rather then any dummy file upload.
How to verify image
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Ravikant SahuRank #391 · 6.4K reputationPosted Aug 10, 2023, 8:52 AM EDT
You can use Machine Learning Kit in android for more description follow this link "https://codelabs.developers.google.com/codelabs/mlkit-android#4"
Prathap ReddyRank #230 · 10.8K reputationPosted May 7, 2023, 9:11 AM EDT
To verify that the user has uploaded the correct file, you can perform some checks on the file itself, such as its format, size, and content.For example,