Class RecordFileToDisk
This class is useful to record file data to server file system.
Inheritance
System.Object
RecordFileToDisk
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SDBCS.filework
Assembly: SDBCS.dll
Syntax
public class RecordFileToDisk
Remarks
Author Mehmet Hayati KINAŞ
Version 1.0
Constructors
RecordFileToDisk(String, String)
The constructor retrieves file name and path strings.
Declaration
public RecordFileToDisk(string path_str, string file_name)
Parameters
Type | Name | Description |
---|---|---|
System.String | path_str | |
System.String | file_name |
Methods
getErrorString()
For getting errorString.
Declaration
public string getErrorString()
Returns
Type | Description |
---|---|
System.String | errorString |
recordFile(Stream)
For recording data to disk
Declaration
public bool recordFile(Stream inpStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | inpStream | Input stream from data |
Returns
Type | Description |
---|---|
System.Boolean | If process is ok it will return true, else return false. |
recordImageFile(Stream)
For recording image data to disk
Declaration
public bool recordImageFile(Stream inpStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | inpStream | Input stream from image data |
Returns
Type | Description |
---|---|
System.Boolean | If process is ok it will return true, else return false. |