Skip to content

Commit 3a9c300

Browse files
authored
Update ContactsApi.md
Changed MemoryStream to FileStream
1 parent 0ebd86d commit 3a9c300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ContactsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ namespace Example
723723
var listName = "listName_example"; // string | Name of an existing list to add these contacts to (optional)
724724
var encodingName = "encodingName_example"; // string | In what encoding the file is uploaded (optional)
725725
var fileUrl = "fileUrl_example"; // string | Optional url of csv to import (optional)
726-
var file = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // System.IO.Stream | (optional)
726+
var file = new System.IO.FileStream("/path/to/file.txt", FileMode.Open, FileAccess.Read); // System.IO.Stream | (optional)
727727
728728
try
729729
{

0 commit comments

Comments
 (0)