Hello Aniesha Razdan,
Greetings! Welcome to Microsoft Q&A Platform.
P/Invoke is a technology that allows you to access structs, callbacks, and functions in unmanaged libraries from your managed code. Most of the P/Invoke API is contained in two namespaces: System
and System.Runtime.InteropServices
. Using these two namespaces give you the tools to describe how you want to communicate with the native component and to use P/Invoke for implementing SMB3 protocol-related functions, you would typically import the Mpr.dll
library, which contains the necessary functions for network resource management, including SMB.
refer - https://learn.microsoft.com/en-us/dotnet/standard/native-interop/pinvoke, https://github.com/dotnet/pinvoke,https://learn.microsoft.com/en-us/dotnet/api/overview/azure/storage.files.shares-readme?view=azure-dotnet for more details.
You can mount the file share on your local machine by using the SMB 3.0 protocol, or you can use tools like Storage Explorer to access files in your file share. From your application, you can use storage client libraries, REST APIs, PowerShell, or Azure CLI to access your files in the Azure file share.
More information here: https://learn.microsoft.com/en-us/azure/storage/files/storage-files-faq
Hope the above information helps! Please let us know if you have any further queries. I’m happy to assist you further.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.