Moonware.Server.WCF
CapturePicture Method



Source Index.
Name of the file (not used).
Captures a static image.
Syntax
'Declaration
 
<OperationBehaviorAttribute()>
<PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=True, 
   Action=SecurityAction.Demand, 
   Unrestricted=False)>
Public Function CapturePicture( _
   ByVal sourceId As Integer, _
   ByVal fileName As String _
) As Boolean
'Usage
 
Dim instance As MoonwareServerWCF
Dim sourceId As Integer
Dim fileName As String
Dim value As Boolean
 
value = instance.CapturePicture(sourceId, fileName)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public bool CapturePicture( 
   int sourceId,
   string fileName
)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
bool CapturePicture( 
   int sourceId,
   String^ fileName
) 

Parameters

sourceId
Source Index.
fileName
Name of the file (not used).

Return Value

true if success, false otherwise
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MoonwareServerWCF Class
MoonwareServerWCF Members

Send Feedback