hello, i am working on a project in which i have to use JAVA to communicate with remote machine and other (Java Native Interface)language to lock the resources of remote machine. can i lock drives,folder of a computer with C and also controlle ShutDown/Restart event or c++?
You need to have your own processes running on the remote machine which can easily do it but I am not sure about the remote control of that nature when its not shared.
the architecture of my project is--- i m using RMI(java) to connect Remote Machines and on the remote machine i m writting JNI(java/c)code. here java is to take instructions from admin(on remote server)about which resources to lock on remote machine.. and C will actually be used to lock the resources, if it is possible.