Smb

Frends.Smb.CreateDirectory / 2.5.0

Summary

Creates a directory on an SMB share and returns its full UNC path.

Typical use — preparing a Process's own working area on a file server

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
2.5.02026-09-09
Fixed
  • Adjusted access permissions to prevent sharing violations for directories.
2.4.02026-07-27
Added
  • Added Kerberos authentication support for SMB connections
    • New Connection.AuthenticationMode property with Ntlm (default) and Kerberos options
    • New Connection.KerberosServerName property for specifying the Kerberos SPN hostname when it differs from the TCP connection address
    • New Connection.KdcAddress property for explicit KDC address when DNS SRV discovery is unavailable
    • KerberosNetAuthenticationClient internally handles TGT acquisition, service ticket retrieval, and GSS-API token generation using the Kerberos.NET library
2.3.02026-07-20
Fixed
  • Optimized SMB file handling: fixed lingering locks and adjusted access permissions to prevent sharing violations.
2.2.02026-06-26
Changed
  • Username parsing: now accepts a username without a domain instead of throwing an error.
  • Server connection: removed manual DNS resolve; connects using the raw server address string.
2.1.02026-04-23
Fixed
  • Input parameters treated as normal string instead of PathString type.
2.0.02026-04-08
Added
  • New connection parameters that defined what servers Operating System.
  • Breaking Introduce PathString type that will represent paths with OS specific separators.
1.0.02025-11-13
Added
  • Initial implementation
An unhandled error has occurred. Reload 🗙