# NetShare user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <NetShare.au3>.

User Defined Function | Description
--- | ---
_Net_Share_ConnectionEnum | Lists all connections made to a shared resource
_Net_Share_FileClose | Forces a resource to close
_Net_Share_FileEnum | Returns information about open files on a server
_Net_Share_FileGetInfo | Retrieves information about a particular opening of a server resource
_Net_Share_PermStr | Returns the string representation of a resource's permissions
_Net_Share_ResourceStr | Returns the string representation of a resource
_Net_Share_SessionDel | Ends a network session between a server and a workstation
_Net_Share_SessionEnum | Provides information about sessions established on a server
_Net_Share_SessionGetInfo | Retrieves information about a session established between a server and workstation
_Net_Share_ShareAdd | Shares a server resource
_Net_Share_ShareCheck | Checks whether or not a server is sharing a device
_Net_Share_ShareDel | Deletes a share name from a server's list of shared resources
_Net_Share_ShareEnum | Retrieves information about each shared resource on a server
_Net_Share_ShareGetInfo | Retrieves information about a particular shared resource on a server
_Net_Share_ShareSetInfo | Shares a server resource
_Net_Share_StatisticsGetSvr | Retrieves operating statistics for a server
_Net_Share_StatisticsGetWrk | Retrieves operating statistics for a workstation