# Set a Default Reference for a Script

The following example illustrates how to set a default reference for a script. In the example below, TcpServerConnectionInfo is needed, which requires the Cognex.Designer.Devices.TcpIp.dll file.

    ScriptablePoint point = new ScriptablePoint
    (
        scriptId,
        displayName,
        description,
        new[]
        {
            new ArgumentDescriptor("client",typeof(TcpServerConnectionInfo))
        }
        null
    );

    point.DefaultReferences = new[] { "Cognex.Designer.Devices.TcpIp.dll" };